projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a36a636
)
Vim syntax update: Fix the statements (include/inherit/addtask/addhandler) to only...
author
Chris Larson
<clarson@kergoth.com>
Wed, 8 Dec 2004 11:33:35 +0000
(11:33 +0000)
committer
Chris Larson
<clarson@kergoth.com>
Wed, 8 Dec 2004 11:33:35 +0000
(11:33 +0000)
contrib/vim/syntax/bb.vim
patch
|
blob
|
history
diff --git
a/contrib/vim/syntax/bb.vim
b/contrib/vim/syntax/bb.vim
index
5de9bb5
..
190cf5b
100644
(file)
--- a/
contrib/vim/syntax/bb.vim
+++ b/
contrib/vim/syntax/bb.vim
@@
-102,7
+102,9
@@
syn region bbDefRegion matchgroup=bbDelimiter start=":$" end='^$' end='^\(\s\)\
" BitBake statements
-syn keyword bbStatement include inherit addtask addhandler
+syn keyword bbStatement include inherit addtask addhandler display contained
+syn match bbStatementLine "^\(include\|inherit\|addtask\|addhandler\)\s\+" contains=bbStatement nextgroup=bbStatementRest
+syn match bbStatementRest ".*$" contained contains=bbString,bbVarOverrideDeref
syn match bbArrayBrackets "[\[\]]" contained
hi def link bbArrayBrackets Statement