commit: 7c4da79abe0d70a73f725d804ff06dd3f9f6a806
Author: Anna “CyberTailor” <cyber <AT> sysrq <DOT> in>
AuthorDate: Thu Feb 17 16:18:30 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 15:59:52 2022 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=7c4da79a
syntax/gentoo-make-conf: highlight F(C)FLAGS
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
syntax/gentoo-make-conf.vim | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/syntax/gentoo-make-conf.vim b/syntax/gentoo-make-conf.vim
index d66033c..e843177 100644
--- a/syntax/gentoo-make-conf.vim
+++ b/syntax/gentoo-make-conf.vim
@@ -118,8 +118,9 @@ hi def link GentooMakeConfEAPIN Error
hi def link GentooMakeConfEAPIX Preproc
" }}}
-" C*FLAGS {{{
+" C*FLAGS and F*FLAGS {{{
syn match GentooMakeConfECFLAGS /C\(XX\)\?FLAGS/ contained
nextgroup=GentooMakeConfECFLAGSE skipwhite
+syn match GentooMakeConfECFLAGS /FC\?FLAGS/ contained
nextgroup=GentooMakeConfECFLAGSE skipwhite
syn match GentooMakeConfECFLAGSE /=/ contained
nextgroup=GentooMakeConfECFLAGSV,GentooMakeConfECFLAGSVNoQ skipwhite
syn cluster GentooMakeConfECFLAGSIC
add=GentooMakeConfECFLAGSIB1,GentooMakeConfECFLAGSIB2,GentooMakeConfECFLAGSIB3,GentooMakeConfECFLAGSIX
syn region GentooMakeConfECFLAGSV contained start=/"/ end=/"/
contains=@GentooMakeConfECFLAGSIC