From a8f47b4a640375af3c949b0347edadf12a8ff579 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 24 Nov 2018 20:54:56 -0800 Subject: 4772 --- subx/subx.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'subx') diff --git a/subx/subx.vim b/subx/subx.vim index 0bdeba80..0ba55cd9 100644 --- a/subx/subx.vim +++ b/subx/subx.vim @@ -28,6 +28,7 @@ let b:cmt_head = "#? " syntax match subxDelimiter / \. / | highlight link subxDelimiter Delimiter syntax match subxString %"[^"]*"% | highlight link subxString Constant -syntax match subxGlobal %\<[A-Z][a-z-]*\>% | highlight link subxGlobal SpecialChar +" match globals but not registers like 'EAX' +syntax match subxGlobal %\<[A-Z][a-z0-9_-]*\>% | highlight link subxGlobal SpecialChar let &cpo = s:save_cpo -- cgit 1.4.1-2-gfad0