aboutsummaryrefslogtreecommitdiff
path: root/vim/syntax/paludis-repositories-conf.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/syntax/paludis-repositories-conf.vim')
-rw-r--r--vim/syntax/paludis-repositories-conf.vim52
1 files changed, 26 insertions, 26 deletions
diff --git a/vim/syntax/paludis-repositories-conf.vim b/vim/syntax/paludis-repositories-conf.vim
index 2c0c9c4ae..44cf990b8 100644
--- a/vim/syntax/paludis-repositories-conf.vim
+++ b/vim/syntax/paludis-repositories-conf.vim
@@ -1,8 +1,8 @@
" Vim syntax file
-" Language: Paludis repositories/*.conf files
-" Author: Ciaran McCreesh
-" Copyright: Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
-" Licence: You may redistribute this under the same terms as Vim itself
+" Language: Paludis repositories/*.conf files
+" Author: Ciaran McCreesh
+" Copyright: Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
+" Licence: You may redistribute this under the same terms as Vim itself
"
" Syntax highlighting for Paludis repositories/*.conf files.
"
@@ -18,44 +18,44 @@ endif
syn region PaludisRepositoriesConfComment start=/^\s*#/ end=/$/
syn region PaludisRepositoriesConfKey start=/^\(\s*[^#]\)\@=/ end=/=\@=/
- \ contains=PaludisRepositoriesConfKnownKey,PaludisRepositoriesConfBadKey
+ \ contains=PaludisRepositoriesConfKnownKey,PaludisRepositoriesConfBadKey
syn match PaludisRepositoriesConfEquals /=/ skipwhite
- \ nextgroup=PaludisRepositoriesConfValue
+ \ nextgroup=PaludisRepositoriesConfValue
syn region PaludisRepositoriesConfValue contained start=// end=/$/
- \ contains=PaludisRepositoriesConfString,PaludisRepositoriesConfUnquoted,
- \ PaludisRepositoriesConfContinuation,PaludisRepositoriesConfVariable,
- \ PaludisRepositoriesConfEnvVariable,
- \ PaludisRepositoriesConfBadTemplateVariable,PaludisRepositoriesConfMacro,
- \ PaludisRepositoriesConfBadMacro,PaludisRepositoriesConfKnownValue
- \ skipwhite
+ \ contains=PaludisRepositoriesConfString,PaludisRepositoriesConfUnquoted,
+ \ PaludisRepositoriesConfContinuation,PaludisRepositoriesConfVariable,
+ \ PaludisRepositoriesConfEnvVariable,
+ \ PaludisRepositoriesConfBadTemplateVariable,PaludisRepositoriesConfMacro,
+ \ PaludisRepositoriesConfBadMacro,PaludisRepositoriesConfKnownValue
+ \ skipwhite
syn match PaludisRepositoriesConfContinuation contained /\\$/
- \ skipnl
+ \ skipnl
syn match PaludisRepositoriesConfUnquoted contained /[^ \t$%"'\\]\+/ skipwhite
syn region PaludisRepositoriesConfString contained start=/"/ end=/"/
- \ contains=PaludisRepositoriesConfVariable,PaludisRepositoriesConfEnvVariable,
- \ PaludisRepositoriesConfBadTemplateVariable,
- \ PaludisRepositoriesConfMacro,PaludisRepositoriesConfBadMacro
- \ skipwhite
+ \ contains=PaludisRepositoriesConfVariable,PaludisRepositoriesConfEnvVariable,
+ \ PaludisRepositoriesConfBadTemplateVariable,
+ \ PaludisRepositoriesConfMacro,PaludisRepositoriesConfBadMacro
+ \ skipwhite
syn keyword PaludisRepositoriesConfKnownKey contained
- \ location distdir format builddir library sync root yaml_uri
- \ master_repository profiles pkgdir setsdir securitydir newsdir
- \ names_cache sync sync_options eclassdirs cache write_cache
- \ provides_cache importance layout use_manifest
- \ binary_uri_prefix binary_keywords_filter binary_destination binary_distdir
- \ eapi_when_unspecified eapi_when_unknown profile_eapi_when_unspecified
- \ name handler config_template config_filename
+ \ location distdir format builddir library sync root yaml_uri
+ \ master_repository profiles pkgdir setsdir securitydir newsdir
+ \ names_cache sync sync_options eclassdirs cache write_cache
+ \ provides_cache importance layout use_manifest
+ \ binary_uri_prefix binary_keywords_filter binary_destination binary_distdir
+ \ eapi_when_unspecified eapi_when_unknown profile_eapi_when_unspecified
+ \ name handler config_template config_filename
syn keyword PaludisRepositoriesConfBadKey contained
- \ world
+ \ world
syn keyword PaludisRepositoriesConfKnownValue contained
- \ use require ignore
+ \ use require ignore
syn match PaludisRepositoriesConfVariable contained
\ /\$\({\(repository_template\)\@![^{}]\+}\|\(repository_template\|ENV{\)\@![a-zA-Z0-9_]\+\)/ skipwhite