aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2023-03-11 20:25:21 +0500
committerMichał Górny <mgorny@gentoo.org>2023-03-11 21:42:15 +0100
commitd4659a919096a0488694338a9cf4fbb749080779 (patch)
tree154d35626ef8cd318003d76b335400650244a72d /ftdetect
parentglep: loosen email regexp (diff)
downloadgentoo-syntax-d4659a919096a0488694338a9cf4fbb749080779.tar.gz
gentoo-syntax-d4659a919096a0488694338a9cf4fbb749080779.tar.bz2
gentoo-syntax-d4659a919096a0488694338a9cf4fbb749080779.zip
Drop support for Gentoo style ChaneLogsv9
They haven't been used anywhere for ages. Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Closes: https://github.com/gentoo/gentoo-syntax/pull/57 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/gentoo.vim10
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 |