aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-08 11:48:04 +0000
committerChris Larson <clarson@kergoth.com>2004-12-08 11:48:04 +0000
commite8bc5b52481dbdcfefc531c6bc93d0023413fab4 (patch)
tree893fc5c7cb7062c52fb9d1623a6054653cf95045 /contrib
parent5b667a934f4d6778cb7327ccb58712a6d6e180b2 (diff)
downloadbitbake-e8bc5b52481dbdcfefc531c6bc93d0023413fab4.tar.gz
bitbake-e8bc5b52481dbdcfefc531c6bc93d0023413fab4.tar.bz2
bitbake-e8bc5b52481dbdcfefc531c6bc93d0023413fab4.zip
Vim syntax update: bugfix: don't recognize an empty line as the end of a 'def' block, but only a line which isnt empty and which doesn't start with whitespace.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/vim/syntax/bb.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vim/syntax/bb.vim b/contrib/vim/syntax/bb.vim
index d8d37aa9..a7bc15e4 100644
--- a/contrib/vim/syntax/bb.vim
+++ b/contrib/vim/syntax/bb.vim
@@ -100,7 +100,7 @@ syn keyword bbDef def contained
syn match bbDefCmd "^def" contains=bbDef skipwhite nextgroup=bbDefFunc
syn match bbDefFunc "\w\+" contains=bbFunction contained skipwhite nextgroup=bbDefArgs
syn region bbDefArgs matchgroup=bbDelimiter start="(" end=")" excludenl contained skipwhite keepend contains=bbIdentifier nextgroup=bbDefRegion
-syn region bbDefRegion matchgroup=bbDelimiter start=":$" end='^$' end='^\(\s\)\@!' contained contains=@python
+syn region bbDefRegion matchgroup=bbDelimiter start=":$" end='^\(\s\|$\)\@!' contained contains=@python
" BitBake statements