diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-08 09:22:27 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-08 09:22:27 +0000 |
commit | f0d85aef1e1068e9a48ebfe48a859dc62ec86187 (patch) | |
tree | ea2ccb7ae753e423c06ca1425e6c43dabe470023 /contrib/vim/syntax/bb.vim | |
parent | 52ec4c06aff0249f464bb82e31f490c15e1c6039 (diff) | |
download | bitbake-contrib-f0d85aef1e1068e9a48ebfe48a859dc62ec86187.tar.gz |
Vim syntax update: 1) Highlight the quotes around a string as a String rather than as a Statement (like .conf highlighting rather than .sh), and 2) Highlight the value of a bitbake variable even if it isn't quoted.
Diffstat (limited to 'contrib/vim/syntax/bb.vim')
-rw-r--r-- | contrib/vim/syntax/bb.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/vim/syntax/bb.vim b/contrib/vim/syntax/bb.vim index 4eded8bb8..54b4b5d53 100644 --- a/contrib/vim/syntax/bb.vim +++ b/contrib/vim/syntax/bb.vim @@ -118,7 +118,9 @@ hi def link bbError Error hi def link bbFunction Function hi def link bbDelimiter Delimiter hi def link bbIdentifier Identifier -hi def link bbQuote Statement hi def link bbVarEq Operator +hi def link bbQuote String +hi def link bbVarValue String + let b:current_syntax = "bb" |