aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/gentoo.vim4
1 files changed, 4 insertions, 0 deletions
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\\) " ||