All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] bitbake.vim: detect *.bbappend files in ftdetect automatically
@ 2012-12-12 20:35 Eren Türkay
  2012-12-12 20:47 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Eren Türkay @ 2012-12-12 20:35 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 846 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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/vim/ftdetect/bitbake.vim b/contrib/vim/ftdetect/bitbake.vim
index 179e4d9..b9529e6 100644
--- a/contrib/vim/ftdetect/bitbake.vim
+++ b/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
-- 
1.7.7.5

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

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 20:35 [PATCH v2] bitbake.vim: detect *.bbappend files in ftdetect automatically Eren Türkay
2012-12-12 20:47 ` Martin Jansa
2012-12-12 20:58   ` 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.