diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2021-04-14 11:59:14 +0200 |
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2021-04-14 11:59:22 +0200 |
| commit | 9e45c07a8d2eb77a1d276f762a448f42a33a47c6 (patch) | |
| tree | f7a2926e460a75b7bd5b7498576042275e9fa57f /indent/julia.vim | |
| parent | 3c5fca7621a1f5e53911195ebb6e7c777fad8031 (diff) | |
| download | vim-polyglot-9e45c07a8d2eb77a1d276f762a448f42a33a47c6.tar.gz vim-polyglot-9e45c07a8d2eb77a1d276f762a448f42a33a47c6.zip | |
Update
Diffstat (limited to 'indent/julia.vim')
| -rw-r--r-- | indent/julia.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indent/julia.vim b/indent/julia.vim index b40823c0..fe53789c 100644 --- a/indent/julia.vim +++ b/indent/julia.vim @@ -295,8 +295,8 @@ function IsFunctionArgPar(lnum, c) if a:c == 0 return 0 endif - let stack = map(synstack(a:lnum, a:c), 'synIDattr(v:val, "name")') - return len(stack) >= 3 && stack[-3] == 'juliaFunctionDefP' + let stack = map(synstack(a:lnum, a:c-1), 'synIDattr(v:val, "name")') + return len(stack) >= 2 && stack[-2] ==# 'juliaFunctionDef' endfunction function JumpToMatch(lnum, last_closed_bracket) |
