From 8340095e5a8263494abadf5a81970ff92091e004 Mon Sep 17 00:00:00 2001 From: Richard-Rogalski Date: Sun, 5 Feb 2023 13:17:54 +0000 Subject: Enable syntax detection for make.conf as a directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Technically, make.conf can be a directory, and I use it as one :). Niche use case but works \o/ Signed-off-by: Richard Rogalski Closes: https://github.com/gentoo/gentoo-syntax/pull/54 Signed-off-by: Michał Górny --- 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 -- cgit v1.2.3-65-gdbad