about summary refs log tree commit diff stats
path: root/subx/subx.vim
diff options
context:
space:
mode:
Diffstat (limited to 'subx/subx.vim')
-rw-r--r--subx/subx.vim7
1 files changed, 4 insertions, 3 deletions
diff --git a/subx/subx.vim b/subx/subx.vim
index 17286d01..e3c6a04f 100644
--- a/subx/subx.vim
+++ b/subx/subx.vim
@@ -19,9 +19,8 @@ setlocal iskeyword+=-
 
 "? syntax match subxComment /#.*$/  | highlight link subxComment Comment
 "? syntax match subxSalientComment /##.*$/  | highlight link subxSalientComment SalientComment
-syntax match subxH1Comment /# =.*/ | highlight subxH1Comment ctermfg=14
-syntax match subxH2Comment /# -.*/ | highlight subxH2Comment ctermfg=39
-syntax match subxComment /#[^ ].*\|# [^.=-].*\|# \?$/ | highlight subxComment ctermfg=39
+syntax match subxH1Comment /# -.*/ | highlight subxH1Comment ctermfg=14
+syntax match subxComment /#[^ ].*\|# [^.-].*\|# \?$/ | highlight subxComment ctermfg=39
 syntax match subxS1Comment /# \..*/ | highlight subxS1Comment ctermfg=27
 syntax match subxS2Comment /# \. \..*/ | highlight subxS2Comment ctermfg=19
 
@@ -36,5 +35,7 @@ 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
+" tweak the red color from the colorscheme just a tad to improve contrast
+highlight SpecialChar ctermfg=196
 
 let &cpo = s:save_cpo