summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCássio Ribeiro Alves de Ávila <cassioavila@protonmail.com>2020-10-01 11:12:05 -0300
committerMichał Górny <mgorny@gentoo.org>2020-10-05 17:25:45 +0200
commit5cc93fd715b9d0c1d73adae904fde0767d4671a1 (patch)
treecad35ad79918edbd4a69c745c4896b372393bca7
parentFix error when executable('git') == 1 (diff)
downloadgentoo-syntax-5cc93fd715b9d0c1d73adae904fde0767d4671a1.tar.gz
gentoo-syntax-5cc93fd715b9d0c1d73adae904fde0767d4671a1.tar.bz2
gentoo-syntax-5cc93fd715b9d0c1d73adae904fde0767d4671a1.zip
make use and unuse highlights always red and green
Signed-off-by: Cássio Ribeiro Alves de Ávila <cassioavila@yandex.com> Closes: https://github.com/gentoo/gentoo-syntax/pull/32 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-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 d66033c..89f9bc0 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 link GentooMakeConfEUseID Keyword
-hi def link GentooMakeConfEUseIE Special
+hi def GentooMakeConfEUseID ctermfg=Red
+hi def GentooMakeConfEUseIE ctermfg=DarkGreen
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 0a97da3..557eecd 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 link GentooPackageUseUse Special
-hi def link GentooPackageUseUnuse Keyword
+hi def GentooPackageUseUse ctermfg=DarkGreen
+hi def GentooPackageUseUnuse ctermfg=Red
hi def link GentooPackageUseExpand Type
let b:current_syntax = "gentoo-package-use"