commit: 6400aa4726372ce6834f459f441c1d8ab01f3a36
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 13:06:35 2016 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Mar 5 23:31:09 2016 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-syntax.git/commit/?id=6400aa47
newebuild: Update eclass template for eclassdoc
plugin/newebuild.vim | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index adb642f..05c8179 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -35,17 +35,20 @@ fun! <SID>MakeNewEbuild()
if expand("%:e") =~# "eclass\$"
" {{{ eclass special setup
- let l:eclass=substitute(expand("%:t"), "\\.eclass\$", "", "")
- put ='#'
- put ='# Original Author: ' . GentooGetUser()
- put ='# Purpose: '
- put ='#'
+ let l:eclass=expand("%:t")
+ put ='# @ECLASS: ' . l:eclass
+ put ='# @MAINTAINER:'
+ put ='# ' . GentooGetUser()
+ put ='# @AUTHOR:'
+ put ='# ' . GentooGetUser()
+ put ='# @BLURB: '
+ put ='# @DESCRIPTION:'
put =''
" }}}
" {{{ go to the first thing to edit
0
- /^# Purpose:/
+ /^# @BLURB:/
normal $
nohls
" }}}