From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 133F815800F for ; Wed, 8 Feb 2023 16:43:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 149FFE05C1; Wed, 8 Feb 2023 16:43:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF24DE05C1 for ; Wed, 8 Feb 2023 16:43:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE51E340688 for ; Wed, 8 Feb 2023 16:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18E34531 for ; Wed, 8 Feb 2023 16:43:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1675874589.8340095e5a8263494abadf5a81970ff92091e004.mgorny@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: ftdetect/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: ftdetect/gentoo.vim X-VCS-Directories: ftdetect/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8340095e5a8263494abadf5a81970ff92091e004 X-VCS-Branch: master Date: Wed, 8 Feb 2023 16:43:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b8a726f3-231d-4a30-81d7-831c829071fb X-Archives-Hash: 64c838a5c996341be138ce2b15b88e69 commit: 8340095e5a8263494abadf5a81970ff92091e004 Author: Richard-Rogalski tutanota com> AuthorDate: Sun Feb 5 13:17:54 2023 +0000 Commit: Michał Górny gentoo 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 tutanota.com> Closes: https://github.com/gentoo/gentoo-syntax/pull/54 Signed-off-by: Michał Górny 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