aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard-Rogalski <rrogalski@tutanota.com>2023-02-05 13:17:54 +0000
committerMichał Górny <mgorny@gentoo.org>2023-02-08 17:43:09 +0100
commit8340095e5a8263494abadf5a81970ff92091e004 (patch)
tree8051f8222689e23367b03218cfa09a2ea5703df6
parentpkgcheck: add new ALE linter (diff)
downloadgentoo-syntax-8340095e5a8263494abadf5a81970ff92091e004.tar.gz
gentoo-syntax-8340095e5a8263494abadf5a81970ff92091e004.tar.bz2
gentoo-syntax-8340095e5a8263494abadf5a81970ff92091e004.zip
Enable syntax detection for make.conf as a directoryv7
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@tutanota.com> Closes: https://github.com/gentoo/gentoo-syntax/pull/54 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--ftdetect/gentoo.vim2
1 files changed, 1 insertions, 1 deletions
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