commit:     4cc031a5d3384ee9cc3225ff038a633be6b7125f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 16 13:32:05 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 16 13:32:05 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=4cc031a5

Revert "make use and unuse highlights always red and green"

This does not work with people with different terminal color set.

Reverts: 5cc93fd715b9d0c1d73adae904fde0767d4671a1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 syntax/gentoo-make-conf.vim   | 4 ++--
 syntax/gentoo-package-use.vim | 4 ++--
 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"

Reply via email to