diff options
Diffstat (limited to 'contrib/vim')
-rw-r--r-- | contrib/vim/syntax/bb.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/vim/syntax/bb.vim b/contrib/vim/syntax/bb.vim index 9fed57d8f..5de9bb588 100644 --- a/contrib/vim/syntax/bb.vim +++ b/contrib/vim/syntax/bb.vim @@ -51,11 +51,11 @@ syn region bbString matchgroup=bbQuote start=/'/ skip=/\\$/ excludenl end=/'/ c " BitBake variable metadata syn match bbVarOverrideDeref "${[a-zA-Z0-9\-_]\+}" hi def link bbVarOverrideDeref String -syn match bbVarDef "^\([a-zA-Z0-9\-_]\+\(_[${}a-zA-Z0-9\-_]\+\)\?\)\s*\(\(+=\)\|\(=+\)\|=\)\@=" contains=bbIdentifier,bbVarOverrideDeref nextgroup=bbVarEq +syn match bbVarDef "^\([a-zA-Z0-9\-_]\+\(_[${}a-zA-Z0-9\-_]\+\)\?\)\s*\(\(:=\)\|\(+=\)\|\(=+\)\|=\)\@=" contains=bbIdentifier,bbVarOverrideDeref nextgroup=bbVarEq syn match bbIdentifier "[a-zA-Z0-9\-_]\+" display contained "syn keyword bbVarEq = display contained nextgroup=bbVarValue -syn match bbVarEq "\(+=\)\|\(=+\)\|=" contained nextgroup=bbVarValue +syn match bbVarEq "\(:=\)\|\(+=\)\|\(=+\)\|=" contained nextgroup=bbVarValue syn match bbVarValue ".*$" contained contains=bbString |