diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-11-30 16:40:35 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-11-30 16:40:35 -0800 |
commit | 4cb6970d9d96d0adca78212f5f9b584499e37bb0 (patch) | |
tree | 990588a81c6e7259f83d56fc242f5bc31c8053ca | |
parent | 14da19a27204f77ea65ad66fe3fba6a60225f035 (diff) | |
download | mu-4cb6970d9d96d0adca78212f5f9b584499e37bb0.tar.gz |
4807
Stop highlighting capitalized words in metadata as global variables.
-rw-r--r-- | subx/subx.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subx/subx.vim b/subx/subx.vim index e3c6a04f..f150718d 100644 --- a/subx/subx.vim +++ b/subx/subx.vim @@ -34,7 +34,8 @@ 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_-]*\>% | highlight link subxGlobal SpecialChar +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 " tweak the red color from the colorscheme just a tad to improve contrast highlight SpecialChar ctermfg=196 |