commit: c37db2bbf264ec221e4c47c722524de59641371c Author: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org> AuthorDate: Sat Nov 14 23:50:08 2020 +0000 Commit: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org> CommitDate: Sun Feb 7 00:25:11 2021 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=c37db2bb
repos.conf also uses ini-like syntax Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org> ftdetect/gentoo.vim | 4 ++++ 1 file changed, 4 insertions(+) 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\\) " ||