summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-09 10:13:47 +0000
committerChris Larson <clarson@kergoth.com>2004-12-09 10:13:47 +0000
commit066a946940373baeffb5655f395d7cff29d0c0c2 (patch)
tree9241f85771bda4b4acb5b5db92eb4cd8340b1d71 /contrib
parentfb40858a226af5643cca4a3852ee0072bc6ccc05 (diff)
downloadbitbake-contrib-066a946940373baeffb5655f395d7cff29d0c0c2.tar.gz
Vim syntax: bugfix in the match of 'def' lines.
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 48f943a5b..55d3c431c 100644
--- a/contrib/vim/syntax/bb.vim
+++ b/contrib/vim/syntax/bb.vim
@@ -105,7 +105,7 @@ syn keyword bbDef def contained
" syn region bbDefArgs matchgroup=bbDelimiter start="(" end=")" excludenl contained skipwhite keepend contains=bbIdentifier nextgroup=bbDefRegion
" syn region bbDefRegion matchgroup=bbDelimiter start=":\s*$" end='^\(\s\|$\)\@!' contained contains=@python
-syn region bbDefRegion start='^def\s\+\w\+([^)]*)\s*:\s*$' end='^\(\s\|$\)\@!' contains=@python
+syn region bbDefRegion start='^def\s\+\w\+\s*([^)]*)\s*:\s*$' end='^\(\s\|$\)\@!' contains=@python
" BitBake statements
syn keyword bbStatement include inherit addtask addhandler EXPORT_FUNCTIONS display contained