aboutsummaryrefslogtreecommitdiff
path: root/vim/syntax/paludis-licenses-conf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/syntax/paludis-licenses-conf.vim')
-rw-r--r--vim/syntax/paludis-licenses-conf.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/syntax/paludis-licenses-conf.vim b/vim/syntax/paludis-licenses-conf.vim
index 496d249..142e658 100644
--- a/vim/syntax/paludis-licenses-conf.vim
+++ b/vim/syntax/paludis-licenses-conf.vim
@@ -19,6 +19,8 @@ syn region PaludisLicensesConfComment start=/^\s*#/ end=/$/
syn match PaludisLicensesConfPDS /^[^ \t#\/]\+\/[^ \t#\/]\+\s*/
\ nextgroup=PaludisLicensesConfLicense,PaludisLicensesConfContinuation
+ \ contains=PaludisLicensesConfWildcard
+syn match PaludisLicensesConfWildcard contained /\(\*\/\@=\|\/\@<=\*\)/
syn match PaludisLicensesConfSet /^[^ \t#\/]\+\S\@!/
\ nextgroup=PaludisLicensesConfLicense,PaludisLicensesConfContinuation skipwhite
syn match PaludisLicensesConfLicense contained /-\?[a-zA-Z0-9\-_*]\+/
@@ -28,6 +30,7 @@ syn match PaludisLicensesConfContinuation contained /\\$/
hi def link PaludisLicensesConfComment Comment
hi def link PaludisLicensesConfPDS Identifier
+hi def link PaludisLicensesConfWildcard Special
hi def link PaludisLicensesConfSet Special
hi def link PaludisLicensesConfLicense Keyword
hi def link PaludisLicensesConfContinuation Preproc