aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-27 11:30:58 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-04-27 11:30:58 +0000
commite4d1470f1af5ade81679e728ff19de03b18901bd (patch)
tree14f14eb41b56d47f140a10eff0dcb3908466a6bc
parentadbd19d56bb68008763db237f6703a64fc405677 (diff)
downloadpaludis-e4d1470f1af5ade81679e728ff19de03b18901bd.tar.gz
paludis-e4d1470f1af5ade81679e728ff19de03b18901bd.tar.xz
tweak
-rw-r--r--vim/syntax/paludis-use-conf.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/syntax/paludis-use-conf.vim b/vim/syntax/paludis-use-conf.vim
index 2779ece..a3d6769 100644
--- a/vim/syntax/paludis-use-conf.vim
+++ b/vim/syntax/paludis-use-conf.vim
@@ -18,12 +18,12 @@ endif
syn region PaludisUseConfComment start=/^\s*#/ end=/$/
syn match PaludisUseConfPDS /^[^ \t#\/]\+\/[^ \t#\/]\+\s*/
- \ nextgroup=PaludisUseConfFlag,PaludisUseConfContinuation
+ \ nextgroup=PaludisUseConfFlag,PaludisUseConfPrefix,PaludisUseConfContinuation
\ contains=PaludisUseConfWildcard
syn match PaludisUseConfWildcard contained /\(\*\/\@=\|\/\@<=\*\)/
syn match PaludisUseConfSet /^[^ \t#\/]\+\S\@!/
\ nextgroup=PaludisUseConfFlag,PaludisUseConfPrefix,PaludisUseConfContinuation skipwhite
-syn match PaludisUseConfFlag contained /[a-zA-Z0-9\-_*]\+:\@!/
+syn match PaludisUseConfFlag contained /\S\@<![a-zA-Z0-9\-_*]\+\S\@!/
\ nextgroup=PaludisUseConfFlag,PaludisUseConfPrefix,PaludisUseConfContinuation skipwhite
syn match PaludisUseConfPrefix contained /[a-zA-Z0-9_*][a-zA-Z0-9\-_*]*:/
\ nextgroup=PaludisUseConfFlag,PaludisUseConfPrefix,PaludisUseConfContinuation skipwhite