aboutsummaryrefslogtreecommitdiff
path: root/syntax
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-16 14:32:05 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-16 14:32:05 +0100
commit4cc031a5d3384ee9cc3225ff038a633be6b7125f (patch)
treed5fd776e88d35f3c10702e971729b57cde3eb4ae /syntax
parentAdd trim for GentooGetUser() (diff)
downloadgentoo-syntax-4cc031a5d3384ee9cc3225ff038a633be6b7125f.tar.gz
gentoo-syntax-4cc031a5d3384ee9cc3225ff038a633be6b7125f.tar.bz2
gentoo-syntax-4cc031a5d3384ee9cc3225ff038a633be6b7125f.zip
Revert "make use and unuse highlights always red and green"gentoo-syntax-20201216
This does not work with people with different terminal color set. Reverts: 5cc93fd715b9d0c1d73adae904fde0767d4671a1 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'syntax')
-rw-r--r--syntax/gentoo-make-conf.vim4
-rw-r--r--syntax/gentoo-package-use.vim4
2 files changed, 4 insertions, 4 deletions
diff --git a/syntax/gentoo-make-conf.vim b/syntax/gentoo-make-conf.vim
index 89f9bc0..d66033c 100644
--- a/syntax/gentoo-make-conf.vim
+++ b/syntax/gentoo-make-conf.vim
@@ -58,8 +58,8 @@ syn match GentooMakeConfEUseIX /\\.\|\$\({[^}]\+}\|[a-zA-Z0-9\-\_]\+\)/ contai
hi def link GentooMakeConfEUse Identifier
hi def link GentooMakeConfEUseV String
-hi def GentooMakeConfEUseID ctermfg=Red
-hi def GentooMakeConfEUseIE ctermfg=DarkGreen
+hi def link GentooMakeConfEUseID Keyword
+hi def link GentooMakeConfEUseIE Special
hi def link GentooMakeConfEUseIG Preproc
hi def link GentooMakeConfEUseIB Error
hi def link GentooMakeConfEUseIX Preproc
diff --git a/syntax/gentoo-package-use.vim b/syntax/gentoo-package-use.vim
index 557eecd..0a97da3 100644
--- a/syntax/gentoo-package-use.vim
+++ b/syntax/gentoo-package-use.vim
@@ -33,8 +33,8 @@ syn match GentooPackageUseExpand contained
syn cluster GentooPackagePostAtom contains=GentooPackageUseUse,
\ GentooPackageUseUnuse,GentooPackageUseExpand
-hi def GentooPackageUseUse ctermfg=DarkGreen
-hi def GentooPackageUseUnuse ctermfg=Red
+hi def link GentooPackageUseUse Special
+hi def link GentooPackageUseUnuse Keyword
hi def link GentooPackageUseExpand Type
let b:current_syntax = "gentoo-package-use"