summaryrefslogtreecommitdiffstats
path: root/bitbake/contrib/vim/ftdetect/bitbake.vim
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/contrib/vim/ftdetect/bitbake.vim')
-rw-r--r--bitbake/contrib/vim/ftdetect/bitbake.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/contrib/vim/ftdetect/bitbake.vim b/bitbake/contrib/vim/ftdetect/bitbake.vim
index 200f8ae49b..09fc4dc74c 100644
--- a/bitbake/contrib/vim/ftdetect/bitbake.vim
+++ b/bitbake/contrib/vim/ftdetect/bitbake.vim
@@ -6,12 +6,12 @@
6" 6"
7" This sets up the syntax highlighting for BitBake files, like .bb, .bbclass and .inc 7" This sets up the syntax highlighting for BitBake files, like .bb, .bbclass and .inc
8 8
9if &compatible || version < 600 9if &compatible || version < 600 || exists("b:loaded_bitbake_plugin")
10 finish 10 finish
11endif 11endif
12 12
13" .bb, .bbappend and .bbclass 13" .bb, .bbappend and .bbclass
14au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake 14au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake
15 15
16" .inc 16" .inc
17au BufNewFile,BufRead *.inc set filetype=bitbake 17au BufNewFile,BufRead *.inc set filetype=bitbake