diff options
-rw-r--r-- | bitbake/contrib/vim/syntax/bitbake.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/contrib/vim/syntax/bitbake.vim b/bitbake/contrib/vim/syntax/bitbake.vim index b46436a567..bcabf5c448 100644 --- a/bitbake/contrib/vim/syntax/bitbake.vim +++ b/bitbake/contrib/vim/syntax/bitbake.vim | |||
@@ -43,6 +43,7 @@ syn region bbString matchgroup=bbQuote start=+"+ skip=+\\$+ excluden | |||
43 | syn region bbString matchgroup=bbQuote start=+'+ skip=+\\$+ excludenl end=+'+ contained keepend contains=bbTodo,bbContinue,bbVarDeref,@Spell | 43 | syn region bbString matchgroup=bbQuote start=+'+ skip=+\\$+ excludenl end=+'+ contained keepend contains=bbTodo,bbContinue,bbVarDeref,@Spell |
44 | 44 | ||
45 | " Vars definition | 45 | " Vars definition |
46 | syn match bbExport "^export" nextgroup=bbIdentifier skipwhite | ||
46 | syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite | 47 | syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite |
47 | syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained | 48 | syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained |
48 | syn match bbVarDeref "${[a-zA-Z0-9\-_\.\/\+]\+}" contained | 49 | syn match bbVarDeref "${[a-zA-Z0-9\-_\.\/\+]\+}" contained |
@@ -103,6 +104,7 @@ hi def link bbString String | |||
103 | hi def link bbDelimiter Keyword | 104 | hi def link bbDelimiter Keyword |
104 | hi def link bbArrayBrackets Statement | 105 | hi def link bbArrayBrackets Statement |
105 | hi def link bbContinue Special | 106 | hi def link bbContinue Special |
107 | hi def link bbExport Type | ||
106 | hi def link bbExportFlag Type | 108 | hi def link bbExportFlag Type |
107 | hi def link bbIdentifier Identifier | 109 | hi def link bbIdentifier Identifier |
108 | hi def link bbVarDeref PreProc | 110 | hi def link bbVarDeref PreProc |