From: "Eren Türkay" <eren@hambedded.org>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH] bitbake.vim: detect *.bbappend files in ftdetect automatically
Date: Wed, 12 Dec 2012 20:42:33 +0200 [thread overview]
Message-ID: <20121212184156.GA743@gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2012-12-12 18:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 18:42 Eren Türkay [this message]
2012-12-12 18:57 ` [PATCH] bitbake.vim: detect *.bbappend files in ftdetect automatically 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121212184156.GA743@gmail.com \
--to=eren@hambedded.org \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.