Adding the first draft of the bitbake syntax highlighting files.
Ricardo Salveti [Mon, 5 May 2008 03:54:34 +0000 (00:54 -0300)]
syntax/bitbake.vim [new file with mode: 0644]

diff --git a/syntax/bitbake.vim b/syntax/bitbake.vim
new file mode 100644 (file)
index 0000000..a6a43a8
--- /dev/null
@@ -0,0 +1,23 @@
+" Vim syntax file
+" Language:     BitBake bb/bbclasses/inc
+" Author:       Chris Larson <kergoth@handhelds.org>
+"               Ricardo Salveti <rsalveti@rsalveti.net>
+" Copyright:    Copyright (C) 2004  Chris Larson <kergoth@handhelds.org>
+"               Copyright (C) 2008  Ricardo Salveti <rsalveti@rsalveti.net>
+"
+" This file is licensed under the MIT license, see COPYING.MIT in
+" this source distribution for the terms.
+"
+" Syntax highlighting for bb, bbclasses and inc files. Inherits from sh.vim and adds
+" in BitBake-specific highlights (like python and etc)
+
+if &compatible || v:version < 600
+    finish
+endif
+
+if exists("b:current_syntax")
+    finish
+endif
+
+runtime! syntax/sh.vim
+unlet b:current_syntax