Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: syntax/
Date: Sun, 20 Feb 2022 16:03:11
Message-Id: 1645372792.7c4da79abe0d70a73f725d804ff06dd3f9f6a806.mgorny@gentoo
1 commit: 7c4da79abe0d70a73f725d804ff06dd3f9f6a806
2 Author: Anna “CyberTailor” <cyber <AT> sysrq <DOT> in>
3 AuthorDate: Thu Feb 17 16:18:30 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 15:59:52 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=7c4da79a
7
8 syntax/gentoo-make-conf: highlight F(C)FLAGS
9
10 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 syntax/gentoo-make-conf.vim | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/syntax/gentoo-make-conf.vim b/syntax/gentoo-make-conf.vim
17 index d66033c..e843177 100644
18 --- a/syntax/gentoo-make-conf.vim
19 +++ b/syntax/gentoo-make-conf.vim
20 @@ -118,8 +118,9 @@ hi def link GentooMakeConfEAPIN Error
21 hi def link GentooMakeConfEAPIX Preproc
22 " }}}
23
24 -" C*FLAGS {{{
25 +" C*FLAGS and F*FLAGS {{{
26 syn match GentooMakeConfECFLAGS /C\(XX\)\?FLAGS/ contained nextgroup=GentooMakeConfECFLAGSE skipwhite
27 +syn match GentooMakeConfECFLAGS /FC\?FLAGS/ contained nextgroup=GentooMakeConfECFLAGSE skipwhite
28 syn match GentooMakeConfECFLAGSE /=/ contained nextgroup=GentooMakeConfECFLAGSV,GentooMakeConfECFLAGSVNoQ skipwhite
29 syn cluster GentooMakeConfECFLAGSIC add=GentooMakeConfECFLAGSIB1,GentooMakeConfECFLAGSIB2,GentooMakeConfECFLAGSIB3,GentooMakeConfECFLAGSIX
30 syn region GentooMakeConfECFLAGSV contained start=/"/ end=/"/ contains=@GentooMakeConfECFLAGSIC