bitbake: bitbake.vim: detect *.bbappend files in ftdetect automatically
Currently, *.bb and *.bbclass files are automatically highlighted and detected as a bitbake file. Since *.bbappend files are also bitbake files, vim plugin should automatically detect and highlight it as well. (Bitbake rev: 0668a0ea968baf930f05806a5452c8dbe4ec35ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
aa272386ba
commit
6ec6bf4e4f
|
@ -10,8 +10,8 @@ if &compatible || version < 600
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" .bb and .bbclass
|
" .bb, .bbappend and .bbclass
|
||||||
au BufNewFile,BufRead *.b{b,bclass} set filetype=bitbake
|
au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake
|
||||||
|
|
||||||
" .inc
|
" .inc
|
||||||
au BufNewFile,BufRead *.inc set filetype=bitbake
|
au BufNewFile,BufRead *.inc set filetype=bitbake
|
||||||
|
|
Loading…
Reference in New Issue