From patchwork Wed Dec 12 18:42:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel] bitbake.vim: detect *.bbappend files in ftdetect automatically Date: Wed, 12 Dec 2012 18:42:33 -0000 From: =?utf-8?b?RXJlbiBUw7xya2F5IDxlcmVuQGhhbWJlZGRlZC5vcmc+?= X-Patchwork-Id: 40851 Message-Id: <20121212184156.GA743@gmail.com> To: bitbake-devel@lists.openembedded.org 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. --- contrib/vim/ftdetect/bitbake.vim | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/vim/ftdetect/bitbake.vim b/contrib/vim/ftdetect/bitbake.vim index 179e4d9..6822e24 100644 --- a/contrib/vim/ftdetect/bitbake.vim +++ b/contrib/vim/ftdetect/bitbake.vim @@ -11,7 +11,7 @@ if &compatible || version < 600 endif " .bb and .bbclass -au BufNewFile,BufRead *.b{b,bclass} set filetype=bitbake +au BufNewFile,BufRead *.b{b,bappend,bclass} set filetype=bitbake " .inc au BufNewFile,BufRead *.inc set filetype=bitbake