From e8bc5b52481dbdcfefc531c6bc93d0023413fab4 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 8 Dec 2004 11:48:04 +0000 Subject: 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. --- contrib/vim/syntax/bb.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/vim/syntax/bb.vim b/contrib/vim/syntax/bb.vim index d8d37aa91..a7bc15e42 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 -- cgit 1.2.3-korg