All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bitbake.vim: detect *.bbappend files in ftdetect automatically
@ 2012-12-12 18:42 Eren Türkay
  2012-12-12 18:57 ` Robert P. J. Day
  2012-12-13 19:57 ` Trevor Woerner
  0 siblings, 2 replies; 7+ messages in thread
From: Eren Türkay @ 2012-12-12 18:42 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

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
-- 
1.7.7.5

[-- Attachment #2: Type: application/pgp-signature, Size: 850 bytes --]

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-13 20:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 18:42 [PATCH] bitbake.vim: detect *.bbappend files in ftdetect automatically Eren Türkay
2012-12-12 18:57 ` Robert P. J. Day
2012-12-12 19:53   ` Eren Türkay
2012-12-12 20:02     ` Robert P. J. Day
2012-12-12 20:31       ` Eren Türkay
2012-12-13 19:57 ` Trevor Woerner
2012-12-13 20:39   ` Eren Türkay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.