From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: ftdetect/
Date: Mon, 30 May 2016 03:09:20 +0000 (UTC) [thread overview]
Message-ID: <1464577615.2355e6c5f50d14534d8885f8619f1d4241aa1596.radhermit@gentoo> (raw)
commit: 2355e6c5f50d14534d8885f8619f1d4241aa1596
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 03:04:55 2016 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Mon May 30 03:06:55 2016 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=2355e6c5
ftdetect: detect both runscript and openrc-run shebangs as init scripts
Fixes #6.
ftdetect/gentoo.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ftdetect/gentoo.vim b/ftdetect/gentoo.vim
index ba425fe..305d567 100644
--- a/ftdetect/gentoo.vim
+++ b/ftdetect/gentoo.vim
@@ -34,7 +34,7 @@ au BufNewFile,BufRead /etc/init.d/*
\ set filetype=gentoo-init-d |
au BufNewFile,BufRead /*/files/*
- \ if (getline(1) ==? "#!/sbin/runscript") |
+ \ if (getline(1) =~? "#!/sbin/\\(runscript\\|openrc-run\\)") |
\ set filetype=gentoo-init-d |
\ endif
next reply other threads:[~2016-05-30 3:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 3:09 Tim Harder [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-08-14 13:55 [gentoo-commits] proj/gentoo-syntax:master commit in: ftdetect/ Michał Górny
2018-08-14 13:55 Michał Górny
2018-08-14 13:57 Michał Górny
2021-02-07 0:29 Vadim Misbakh-Soloviov
2021-02-07 0:29 Vadim Misbakh-Soloviov
2021-02-07 0:29 Vadim Misbakh-Soloviov
2023-02-08 16:43 Michał Górny
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=1464577615.2355e6c5f50d14534d8885f8619f1d4241aa1596.radhermit@gentoo \
--to=radhermit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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