diff options
Diffstat (limited to 'ftdetect/gentoo.vim')
-rw-r--r-- | ftdetect/gentoo.vim | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/ftdetect/gentoo.vim b/ftdetect/gentoo.vim index b2ed1bd..d63d88c 100644 --- a/ftdetect/gentoo.vim +++ b/ftdetect/gentoo.vim @@ -4,8 +4,8 @@ " Copyright: Copyright (c) 2004-2005 Ciaran McCreesh " Licence: You may redistribute this under the same terms as Vim itself " -" This sets up syntax highlighting for Gentoo ebuilds, eclasses, GLEPs and -" Gentoo style ChangeLogs. +" This sets up syntax highlighting for Gentoo ebuilds, eclasses, GLEPs, init.d / +" conf.d / env.d / cron.d entries, /etc/portage/ files and so on. " if &compatible || v:version < 603 @@ -23,12 +23,6 @@ au BufNewFile,BufRead *.txt,*.rst \ set filetype=glep | \ endif -" ChangeLogs -au BufNewFile,BufRead ChangeLog* - \ if (getline(2) =~? "^# Copyright \\d\\+-\\d\\+ Gentoo Foundation") | - \ set filetype=gentoo-changelog | - \ endif - " /etc/init.d/ scripts au BufNewFile,BufRead /etc/init.d/* \ set filetype=gentoo-init-d.sh | |