public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: ftdetect/
Date: Wed,  8 Feb 2023 16:43:18 +0000 (UTC)	[thread overview]
Message-ID: <1675874589.8340095e5a8263494abadf5a81970ff92091e004.mgorny@gentoo> (raw)

commit:     8340095e5a8263494abadf5a81970ff92091e004
Author:     Richard-Rogalski <rrogalski <AT> tutanota <DOT> com>
AuthorDate: Sun Feb  5 13:17:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 16:43:09 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=8340095e

Enable syntax detection for make.conf as a directory

Technically, make.conf can be a directory, and I use it as
one :). Niche use case but works \o/

Signed-off-by: Richard Rogalski <rrogalski <AT> tutanota.com>
Closes: https://github.com/gentoo/gentoo-syntax/pull/54
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ftdetect/gentoo.vim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ftdetect/gentoo.vim b/ftdetect/gentoo.vim
index b89f058..b2ed1bd 100644
--- a/ftdetect/gentoo.vim
+++ b/ftdetect/gentoo.vim
@@ -75,7 +75,7 @@ au BufNewFile,BufRead {*/thirdpartymirrors,*/portage/mirrors}
     \     set filetype=gentoo-mirrors
 
 " make.conf
-au BufNewFile,BufRead make.{conf,globals}
+au BufNewFile,BufRead {*/make.{conf,globals},*/portage/make.conf/*}
     \     set filetype=gentoo-make-conf
 
 " use.desc


             reply	other threads:[~2023-02-08 16:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08 16:43 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-07  0:29 [gentoo-commits] proj/gentoo-syntax:master commit in: ftdetect/ Vadim Misbakh-Soloviov
2021-02-07  0:29 Vadim Misbakh-Soloviov
2021-02-07  0:29 Vadim Misbakh-Soloviov
2018-08-14 13:57 Michał Górny
2018-08-14 13:55 Michał Górny
2018-08-14 13:55 Michał Górny
2016-05-30  3:09 Tim Harder

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=1675874589.8340095e5a8263494abadf5a81970ff92091e004.mgorny@gentoo \
    --to=mgorny@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