aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna “CyberTailor” <cyber@sysrq.in>2022-02-17 21:18:30 +0500
committerMichał Górny <mgorny@gentoo.org>2022-02-20 16:59:52 +0100
commit7c4da79abe0d70a73f725d804ff06dd3f9f6a806 (patch)
tree0bb0a27468c4fc7bc507df8fea3148ac031af86b
parentplugin/newebuild.vim: don't match pypi HOMEPAGEs for non-python pkgs (diff)
downloadgentoo-syntax-7c4da79abe0d70a73f725d804ff06dd3f9f6a806.tar.gz
gentoo-syntax-7c4da79abe0d70a73f725d804ff06dd3f9f6a806.tar.bz2
gentoo-syntax-7c4da79abe0d70a73f725d804ff06dd3f9f6a806.zip
syntax/gentoo-make-conf: highlight F(C)FLAGS
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--syntax/gentoo-make-conf.vim3
1 files changed, 2 insertions, 1 deletions
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