commit:     1b6d372fd407c82de927dcd669b901d55c488c52
Author:     Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 00:06:07 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=1b6d372f

env and bashrc would benefit from ft=ebuild

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 0c0db40..b8c14ac 100644
--- a/ftdetect/gentoo.vim
+++ b/ftdetect/gentoo.vim
@@ -90,6 +90,10 @@ au BufNewFile,BufRead metadata.xml
 au BufNewFile,BufRead {*/portage/repos.conf,*/portage/repos.conf/*.conf}
     \     set filetype=dosini
 
+" portage/env/*
+au BufNewFile,BufRead */portage/{env/*,bashrc}
+    \     set filetype=ebuild
+
 " guidexml
 au BufNewFile,BufRead *.xml
     \     if getline(1) =~ "<!DOCTYPE 
\\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " ||

Reply via email to