aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/vim
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-08 09:22:27 +0000
committerChris Larson <clarson@kergoth.com>2004-12-08 09:22:27 +0000
commitf0d85aef1e1068e9a48ebfe48a859dc62ec86187 (patch)
treeea2ccb7ae753e423c06ca1425e6c43dabe470023 /contrib/vim
parent52ec4c06aff0249f464bb82e31f490c15e1c6039 (diff)
downloadbitbake-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')
-rw-r--r--contrib/vim/syntax/bb.vim4
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"