Skip to content

Commit

Permalink
Workaround for but in matchit.
Browse files Browse the repository at this point in the history
  • Loading branch information
BuGlessRB committed Jan 18, 2018
1 parent 709dc71 commit 7640118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/syntax/cmod.vim
Expand Up @@ -24,7 +24,7 @@ unlet b:current_syntax

" Supports rotating amongst several same-level preprocessor conditionals
packadd! matchit
let b:match_words = "^\s*#\s*\%(if\%(n\?def\)\|else\|el\%(se\)\?if\|endif\)\>"
let b:match_words = "({:}\\@1<=),^\s*#\s*\%(if\%(n\?def\)\|else\|el\%(se\)\?if\|endif\)\>"

" Cmod extensions
syn keyword cmodStatement __INIT INIT EXIT GC_RECURSE GC_CHECK
Expand Down

0 comments on commit 7640118

Please sign in to comment.