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.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/subx.vim b/subx/subx.vim
index 763b835d..4e8cf58a 100644
--- a/subx/subx.vim
+++ b/subx/subx.vim
@@ -27,7 +27,7 @@ setlocal iskeyword+=-
 
 " blue-green tones
 syntax match subxH1Comment /# - .*/ | highlight subxH1Comment cterm=underline ctermfg=25
-syntax match subxComment /#[^ ].*\|# [^.-].*\|# \?$/ | highlight subxComment ctermfg=25
+syntax match subxComment /#\( \.\| - \|? \)\@!.*/ | highlight subxComment ctermfg=25
 syntax match subxS1Comment /# \..*/ | highlight subxS1Comment ctermfg=19
 syntax match subxS2Comment /# \. \..*/ | highlight subxS2Comment ctermfg=245