Skip to contentSkip to conversation

bitbake.vim: detect *.bbappend files in ftdetect automatically

PATCH In review Eren Türkay 1 participant 2 messages Dec 12, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 contrib/vim/ftdetect/bitbake.vim |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
contrib/vim/ftdetect/bitbake.vim +1 -1
index 179e4d9..6822e24 100644
@@ -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
Signature · 1 line
1.7.7.5
#1 lore raw
Quoted 3 lines · Eren Türkay

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.

Sorry! Wrong mailing list. Please ignore it.

Regards,
Eren

Signature · 2 lines
    . 73! DE TA1AET
      http://linkedin.com/in/erenturkay