diff options
| author | Eren Türkay <eren@hambedded.org> | 2012-12-12 22:35:50 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-14 13:08:48 +0000 |
| commit | 6ec6bf4e4fe8728f424ec2bc54294d5befce5456 (patch) | |
| tree | 34f621d85704c8bc2c3f0871465bff2ae1613f10 | |
| parent | aa272386ba94466b08582129b62ac7985fcf7b71 (diff) | |
| download | poky-6ec6bf4e4fe8728f424ec2bc54294d5befce5456.tar.gz | |
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>
| -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 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 | |||
| 10 | finish | 10 | finish |
| 11 | endif | 11 | endif |
| 12 | 12 | ||
| 13 | " .bb and .bbclass | 13 | " .bb, .bbappend and .bbclass |
| 14 | au BufNewFile,BufRead *.b{b,bclass} 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 |
