comparison runtime/indent/julia.vim @ 33577:d6dde6229b36

runtime: Fix more typos (#13354) Commit: https://github.com/vim/vim/commit/dbf749bd5aaef6ea2d28bce081349785d174d96a Author: Viktor Sz?pe <viktor@szepe.net> Date: Mon Oct 16 09:53:37 2023 +0200 runtime: Fix more typos (https://github.com/vim/vim/issues/13354) * Fix more typos * Fix typos in ignored runtime/ directory Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 16 Oct 2023 10:00:10 +0200
parents 5c220cf30f1f
children
comparison
equal deleted inserted replaced
33576:67fa1a899087 33577:d6dde6229b36
308 let stack = map(synstack(a:lnum, a:c-1), 'synIDattr(v:val, "name")') 308 let stack = map(synstack(a:lnum, a:c-1), 'synIDattr(v:val, "name")')
309 return len(stack) >= 2 && stack[-2] ==# 'juliaFunctionDef' 309 return len(stack) >= 2 && stack[-2] ==# 'juliaFunctionDef'
310 endfunction 310 endfunction
311 311
312 function JumpToMatch(lnum, last_closed_bracket) 312 function JumpToMatch(lnum, last_closed_bracket)
313 " we use the % command to skip back (tries to ues matchit if possible, 313 " we use the % command to skip back (tries to use matchit if possible,
314 " otherwise resorts to vim's default, which is buggy but better than 314 " otherwise resorts to vim's default, which is buggy but better than
315 " nothing) 315 " nothing)
316 call cursor(a:lnum, a:last_closed_bracket) 316 call cursor(a:lnum, a:last_closed_bracket)
317 let percmap = maparg("%", "n") 317 let percmap = maparg("%", "n")
318 if exists("g:loaded_matchit") && percmap =~# 'Match\%(it\|_wrapper\)' 318 if exists("g:loaded_matchit") && percmap =~# 'Match\%(it\|_wrapper\)'