Skip to contentSkip to conversation

bitbake.vim: fix highlighing for ??= operator

PATCH New Khem Raj 1 participant 1 message Nov 7, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 bitbake.vim: fix highlighing for ??= operator

equation is OK but operator itself is highlighted
which is odd

---
 contrib/vim/syntax/bitbake.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/vim/syntax/bitbake.vim +1 -1
index fb55f91..0cad484 100644
@@ -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 
Signature · 1 line
1.8.3.2