From a688c66a049b12e7b19f6ab4cb27c5a24dc3d52c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 20 May 2020 16:59:09 +0200 Subject: Update --- ftplugin/julia.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ftplugin/julia.vim') diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim index 9b787512..3b81019d 100644 --- a/ftplugin/julia.vim +++ b/ftplugin/julia.vim @@ -39,7 +39,7 @@ if exists("loaded_matchit") " note: the following regex not only recognizes macros, but also local/global keywords. " the purpose is recognizing things like `@inline myfunction()` " or `global myfunction(...)` etc, for matchit and block movement functionality - let s:macro_regex = '\%(@\%(#\@!\S\)\+\|\<\%(local\|global\)\)\s\+' + let s:macro_regex = '\%(@\%([#(]\@!\S\)\+\|\<\%(local\|global\)\)\s\+' let s:nomacro = '\%(' . s:macro_regex . '\)\@"' + \ . '"\\"' let b:undo_ftplugin = b:undo_ftplugin \ . " | unlet! b:match_words b:match_skip b:match_ignorecase" -- cgit v1.2.3