From: "Eren Türkay" <eren@hambedded.org>
To: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: [meta-oe][bitbake-devel][PATCH] bitbake.vim: detect *.bbappend files in ftdetect automatically
Date: Wed, 12 Dec 2012 19:37:07 +0200 [thread overview]
Message-ID: <20121212173707.GA20975@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 17:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 17:37 Eren Türkay [this message]
2012-12-12 18:28 ` [meta-oe][bitbake-devel][PATCH] bitbake.vim: detect *.bbappend files in ftdetect automatically 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=20121212173707.GA20975@gmail.com \
--to=eren@hambedded.org \
--cc=openembedded-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox