aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-31 11:00:43 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-31 11:00:54 -0800
commit62b4775286456c0ddf64867e49ddc6fdf23a8c1d (patch)
tree6f637b08ab7d4bcbff6f91c2c5051a68d4bd5a31
parentd868ec2ef75b934015089f03283efbf1ce8a1741 (diff)
downloadpaludis-62b4775286456c0ddf64867e49ddc6fdf23a8c1d.tar.gz
paludis-62b4775286456c0ddf64867e49ddc6fdf23a8c1d.tar.xz
vim: adjust the regex to work
-rw-r--r--vim/syntax/paludis-package-mask-conf.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/syntax/paludis-package-mask-conf.vim b/vim/syntax/paludis-package-mask-conf.vim
index bc258d9..59d9e01 100644
--- a/vim/syntax/paludis-package-mask-conf.vim
+++ b/vim/syntax/paludis-package-mask-conf.vim
@@ -24,7 +24,7 @@ syn match PaludisPackageMaskConfWildcard contained /\(\*\/\@=\|\/\@<=\*\)/
\ nextgroup=PaludisPackageMaskToken skipwhite
syn match PaludisPackageMaskConfSet /^[^ \t#\/]\+\S\@!/
\ nextgroup=PaludisPackageMaskToken skipwhite
-syn match PaludisPackageMaskToken /[-.\w]\+/
+syn match PaludisPackageMaskToken /[-\.[:alnum:]_]\+/
\ contained skipwhite nextgroup=PaludisPackageMaskToken
hi def link PaludisPackageMaskConfComment Comment