Just adding the ftdetect file that indicates the files used by the bitbake syntax...
Ricardo Salveti [Mon, 5 May 2008 03:43:24 +0000 (00:43 -0300)]
ftdetect/bitbake.vim [new file with mode: 0644]

diff --git a/ftdetect/bitbake.vim b/ftdetect/bitbake.vim
new file mode 100644 (file)
index 0000000..67dd207
--- /dev/null
@@ -0,0 +1,17 @@
+" Vim filetype detection file
+" Language:     BitBake
+" Author:       Ricardo Salveti <rsalveti@rsalveti.net>
+" Copyright:    Copyright (C) 2008  Ricardo Salveti <rsalveti@rsalveti.net>
+" Licence:      You may redistribute this under the same terms as Vim itself
+"
+" This sets up the syntax highlighting for BitBake files, like .bb, .bbclass and .inc
+
+if &compatible || v.version < 600
+    finish
+endif
+
+" .bb and .bbclass
+au BufNewFile,BufRead *.b{b,bclass}    set filetype=bitbake
+
+" .inc
+au BufNewFile,BufRead *.inc            set filetype=bitbake