diff options
Diffstat (limited to 'bitbake/contrib/vim/ftdetect/bitbake.vim')
| -rw-r--r-- | bitbake/contrib/vim/ftdetect/bitbake.vim | 4 |
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 | ||
| 9 | if &compatible || version < 600 | 9 | if &compatible || version < 600 || exists("b:loaded_bitbake_plugin") |
| 10 | finish | 10 | finish |
| 11 | endif | 11 | endif |
| 12 | 12 | ||
| 13 | " .bb, .bbappend and .bbclass | 13 | " .bb, .bbappend and .bbclass |
| 14 | au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake | 14 | au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake |
| 15 | 15 | ||
| 16 | " .inc | 16 | " .inc |
| 17 | au BufNewFile,BufRead *.inc set filetype=bitbake | 17 | au BufNewFile,BufRead *.inc set filetype=bitbake |
