" Vim filetype detection file " Language: BitBake " Author: Ricardo Salveti " Copyright: Copyright (C) 2008 Ricardo Salveti " 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 || version < 600 finish endif " .bb and .bbclass au BufNewFile,BufRead *.b{b,bclass} set filetype=bitbake " .inc au BufNewFile,BufRead *.inc set filetype=bitbake " .conf au BufNewFile,BufRead *.conf \ if (match(expand("%:p:h"), "conf") > 0) | \ set filetype=bitbake | \ endif