diff --git a/syntax/nim.vim b/syntax/nim.vim index 948b78d..03c21ac 100644 --- a/syntax/nim.vim +++ b/syntax/nim.vim @@ -19,12 +19,16 @@ endif if !exists("nim_highlight_space_errors") let nim_highlight_space_errors = 1 endif +if !exists("nim_highlight_special_vars") + let nim_highlight_special_vars = 1 +endif if exists("nim_highlight_all") let nim_highlight_numbers = 1 let nim_highlight_builtins = 1 let nim_highlight_exceptions = 1 let nim_highlight_space_errors = 1 + let nim_highlight_special_vars = 1 endif syn region nimBrackets contained extend keepend matchgroup=Bold start=+\(\\\)\@= 508 || !exists("did_nim_syn_inits") HiLink nimComment Comment HiLink nimTodo Todo HiLink nimDecorator Define + HiLink nimSpecialVar Identifier if nim_highlight_numbers == 1 HiLink nimNumber Number