aboutsummaryrefslogtreecommitdiff
path: root/vim/syntax/paludis-repositories-conf.vim
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-09 14:07:05 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-09 14:07:05 +0000
commita297ce7c92fc48b2e5f7df4a2624c25ddab3b81d (patch)
treef3d4c5c11709d26bebdf0e7e424b569dcd992253 /vim/syntax/paludis-repositories-conf.vim
parent410f8b38e6bb0feb13e2d5e5c3ac34c4e87c0fee (diff)
downloadpaludis-a297ce7c92fc48b2e5f7df4a2624c25ddab3b81d.tar.gz
paludis-a297ce7c92fc48b2e5f7df4a2624c25ddab3b81d.tar.xz
world is now in env, not repos. Fixes: ticket:421
Diffstat (limited to 'vim/syntax/paludis-repositories-conf.vim')
-rw-r--r--vim/syntax/paludis-repositories-conf.vim8
1 files changed, 6 insertions, 2 deletions
diff --git a/vim/syntax/paludis-repositories-conf.vim b/vim/syntax/paludis-repositories-conf.vim
index fe4ad89d1..598db1800 100644
--- a/vim/syntax/paludis-repositories-conf.vim
+++ b/vim/syntax/paludis-repositories-conf.vim
@@ -18,7 +18,7 @@ endif
syn region PaludisRepositoriesConfComment start=/^\s*#/ end=/$/
syn region PaludisRepositoriesConfKey start=/^\(\s*[^#]\)\@=/ end=/=\@=/
- \ contains=PaludisRepositoriesConfKnownKey
+ \ contains=PaludisRepositoriesConfKnownKey,PaludisRepositoriesConfBadKey
syn match PaludisRepositoriesConfEquals /=/ skipwhite
\ nextgroup=PaludisRepositoriesConfValue
@@ -42,17 +42,21 @@ 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
- \ world provides_cache importance layout use_manifest
+ \ provides_cache importance layout use_manifest
\ binary_uri_prefix binary_keywords binary_destination
\ eapi_when_unspecified eapi_when_unknown profile_eapi
\ name
+syn keyword PaludisRepositoriesConfBadKey contained
+ \ world
+
syn keyword PaludisRepositoriesConfKnownValue contained
\ use require ignore
syn match PaludisRepositoriesConfVariable contained /\$\({[^}]\+}\|[a-zA-Z0-9_]\+\)/ skipwhite
hi def link PaludisRepositoriesConfKnownKey Keyword
+hi def link PaludisRepositoriesConfBadKey Error
hi def link PaludisRepositoriesConfKnownValue Keyword
hi def link PaludisRepositoriesConfString String
hi def link PaludisRepositoriesConfUnquoted Constant