From c6f522007de6f96e79d52ae9db2e23333c318c8f Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 30 Nov 2018 20:01:41 -0800 Subject: 4811 --- subx/subx.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'subx/subx.vim') diff --git a/subx/subx.vim b/subx/subx.vim index f150718d..0a112fbb 100644 --- a/subx/subx.vim +++ b/subx/subx.vim @@ -34,8 +34,9 @@ syntax match subxDelimiter / \. / | highlight link subxDelimiter CommentedCode syntax match subxString %"[^"]*"% | highlight link subxString Constant " match globals but not registers like 'EAX' -syntax match subxGlobal %[^/]\<[A-Z][a-z0-9_-]*\>\|^[A-Z][a-z0-9_-]*\>% | highlight link subxGlobal SpecialChar -"? syntax match subxGlobal %\/\@!\<[A-Z][a-z0-9_-]*\>% | highlight link subxGlobal SpecialChar +" don't match capitalized words in metadata +" don't match inside strings +syntax match subxGlobal %\(/\)\@% | highlight link subxGlobal SpecialChar " tweak the red color from the colorscheme just a tad to improve contrast highlight SpecialChar ctermfg=196 -- cgit 1.4.1-2-gfad0