From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A386F59CA3 for ; Sun, 6 Mar 2016 12:01:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B844E07AE for ; Sun, 6 Mar 2016 12:01:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F6A3E07DF for ; Sat, 5 Mar 2016 23:35:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1CD5340B07 for ; Sat, 5 Mar 2016 23:35:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47D472099 for ; Sat, 5 Mar 2016 23:35:17 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1457220669.6400aa4726372ce6834f459f441c1d8ab01f3a36.radhermit@gentoo> Subject: [gentoo-commits] proj/gentoo-syntax:master commit in: plugin/ X-VCS-Repository: proj/gentoo-syntax X-VCS-Files: plugin/newebuild.vim X-VCS-Directories: plugin/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 6400aa4726372ce6834f459f441c1d8ab01f3a36 X-VCS-Branch: master Date: Sat, 5 Mar 2016 23:35:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 50d18cb0-02ae-49ac-bcc6-027d4bc457d2 X-Archives-Hash: 1b70d518d0a7490b51c0d671fb22a15f commit: 6400aa4726372ce6834f459f441c1d8ab01f3a36 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 27 13:06:35 2016 +0000 Commit: Tim Harder gentoo 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! 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 " }}}