From 6ec6bf4e4fe8728f424ec2bc54294d5befce5456 Mon Sep 17 00:00:00 2001 From: Eren Türkay Date: Wed, 12 Dec 2012 22:35:50 +0200 Subject: 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 --- bitbake/contrib/vim/ftdetect/bitbake.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/contrib') diff --git a/bitbake/contrib/vim/ftdetect/bitbake.vim b/bitbake/contrib/vim/ftdetect/bitbake.vim index 179e4d9888..b9529e669a 100644 --- a/bitbake/contrib/vim/ftdetect/bitbake.vim +++ b/bitbake/contrib/vim/ftdetect/bitbake.vim @@ -10,8 +10,8 @@ if &compatible || version < 600 finish endif -" .bb and .bbclass -au BufNewFile,BufRead *.b{b,bclass} set filetype=bitbake +" .bb, .bbappend and .bbclass +au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake " .inc au BufNewFile,BufRead *.inc set filetype=bitbake -- cgit v1.2.3-54-g00ecf