aboutsummaryrefslogtreecommitdiff
path: root/vim/syntax/paludis-suggestions-conf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/syntax/paludis-suggestions-conf.vim')
-rw-r--r--vim/syntax/paludis-suggestions-conf.vim22
1 files changed, 11 insertions, 11 deletions
diff --git a/vim/syntax/paludis-suggestions-conf.vim b/vim/syntax/paludis-suggestions-conf.vim
index 11d62d93f..2d04de768 100644
--- a/vim/syntax/paludis-suggestions-conf.vim
+++ b/vim/syntax/paludis-suggestions-conf.vim
@@ -1,8 +1,8 @@
" Vim syntax file
-" Language: Paludis syggestions.conf files
-" Author: Ciaran McCreesh
-" Copyright: Copyright (c) 2007, 2010 Ciaran McCreesh
-" Licence: You may redistribute this under the same terms as Vim itself
+" Language: Paludis syggestions.conf files
+" Author: Ciaran McCreesh
+" Copyright: Copyright (c) 2007, 2010 Ciaran McCreesh
+" Licence: You may redistribute this under the same terms as Vim itself
"
" Syntax highlighting for Paludis syggestions.conf files.
"
@@ -18,17 +18,17 @@ endif
syn region PaludisSuggestionsConfComment start=/^\s*#/ end=/$/
syn match PaludisSuggestionsConfPDS /^[^ \t#\/]\+\/[^ \t#\/]\+\s*/
- \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation
- \ contains=PaludisSuggestionsConfWildcard
+ \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation
+ \ contains=PaludisSuggestionsConfWildcard
syn match PaludisSuggestionsConfWildcard contained /\(\*\/\@=\|\/\@<=\*\)/
syn match PaludisSuggestionsConfGroup contained /-\?[a-zA-Z0-9\-_]\+\S\@!/
- \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation skipwhite
- \ contains=PaludisSuggestionsConfWildcard
+ \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation skipwhite
+ \ contains=PaludisSuggestionsConfWildcard
syn match PaludisSuggestionsConfName contained /-\?\(\*\|[a-zA-Z0-9\-_]\+\)\/\(\*\|[a-zA-Z0-9\-_+]\)\+/
- \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation skipwhite
- \ contains=PaludisSuggestionsConfWildcard
+ \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation skipwhite
+ \ contains=PaludisSuggestionsConfWildcard
syn match PaludisSuggestionsConfContinuation contained /\\$/
- \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation skipwhite skipnl
+ \ nextgroup=PaludisSuggestionsConfName,PaludisSuggestionsConfGroup,PaludisSuggestionsConfContinuation skipwhite skipnl
hi def link PaludisSuggestionsConfComment Comment
hi def link PaludisSuggestionsConfPDS Identifier