[bitbake-devel] [PATCH] bitbake.vim: fix highlighing for ??= operator
Khem Raj
raj.khem at gmail.com
Thu Nov 7 15:10:35 UTC 2013
equation is OK but operator itself is highlighted
which is odd
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
contrib/vim/syntax/bitbake.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/vim/syntax/bitbake.vim b/contrib/vim/syntax/bitbake.vim
index fb55f91..0cad484 100644
--- a/contrib/vim/syntax/bitbake.vim
+++ b/contrib/vim/syntax/bitbake.vim
@@ -59,7 +59,7 @@ syn region bbVarPyValue start=+${@+ skip=+\\$+ end=+}+ contained contain
" Vars metadata flags
syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.]\+\]\)\@=" contains=bbIdentifier nextgroup=bbVarFlagFlag
-syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(=\|+=\|=+\|?=\)\@=" contained contains=bbIdentifier nextgroup=bbVarEq
+syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(=\|+=\|=+\|?=\|??=\)\@=" contained contains=bbIdentifier nextgroup=bbVarEq
" Includes and requires
syn keyword bbInclude inherit include require contained
--
1.8.3.2
More information about the bitbake-devel
mailing list