1 |
commit: 1b6d372fd407c82de927dcd669b901d55c488c52 |
2 |
Author: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 15 00:06:07 2020 +0000 |
4 |
Commit: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 7 00:25:11 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=1b6d372f |
7 |
|
8 |
env and bashrc would benefit from ft=ebuild |
9 |
|
10 |
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org> |
11 |
|
12 |
ftdetect/gentoo.vim | 4 ++++ |
13 |
1 file changed, 4 insertions(+) |
14 |
|
15 |
diff --git a/ftdetect/gentoo.vim b/ftdetect/gentoo.vim |
16 |
index 0c0db40..b8c14ac 100644 |
17 |
--- a/ftdetect/gentoo.vim |
18 |
+++ b/ftdetect/gentoo.vim |
19 |
@@ -90,6 +90,10 @@ au BufNewFile,BufRead metadata.xml |
20 |
au BufNewFile,BufRead {*/portage/repos.conf,*/portage/repos.conf/*.conf} |
21 |
\ set filetype=dosini |
22 |
|
23 |
+" portage/env/* |
24 |
+au BufNewFile,BufRead */portage/{env/*,bashrc} |
25 |
+ \ set filetype=ebuild |
26 |
+ |
27 |
" guidexml |
28 |
au BufNewFile,BufRead *.xml |
29 |
\ if getline(1) =~ "<!DOCTYPE \\(guide\\|news\\|mainpage\\|book\\|sections\\|dynamic\\|inserts\\) " || |