diff options
author | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2020-11-15 06:50:08 +0700 |
---|---|---|
committer | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2021-02-07 07:25:11 +0700 |
commit | c37db2bbf264ec221e4c47c722524de59641371c (patch) | |
tree | 621d4de0a55930599991d08c0b9d96ea8ae599e7 | |
parent | package.env also uses package.use-like syntax (diff) | |
download | gentoo-syntax-c37db2bbf264ec221e4c47c722524de59641371c.tar.gz gentoo-syntax-c37db2bbf264ec221e4c47c722524de59641371c.tar.bz2 gentoo-syntax-c37db2bbf264ec221e4c47c722524de59641371c.zip |
repos.conf also uses ini-like syntax
Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
-rw-r--r-- | ftdetect/gentoo.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/gentoo.vim b/ftdetect/gentoo.vim index b8f169f..0c0db40 100644 --- a/ftdetect/gentoo.vim +++ b/ftdetect/gentoo.vim @@ -86,6 +86,10 @@ au BufNewFile,BufRead use.{local.,}desc au BufNewFile,BufRead metadata.xml \ set filetype=gentoo-metadata +" repos.conf +au BufNewFile,BufRead {*/portage/repos.conf,*/portage/repos.conf/*.conf} + \ set filetype=dosini + " guidexml au BufNewFile,BufRead *.xml \ if getline(1) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " || |