From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RmruL-0005Vw-HR for garchives@archives.gentoo.org; Mon, 16 Jan 2012 19:07:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74024E0128; Mon, 16 Jan 2012 19:07:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 46F48E0128 for ; Mon, 16 Jan 2012 19:07:44 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1A4B67FB5 for ; Mon, 16 Jan 2012 19:07:43 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2242) id 86E732004B; Mon, 16 Jan 2012 19:07:42 +0000 (UTC) To: gentoo-commits@lists.gentoo.org From: "Christian Ruppert (idl0r)" Subject: [gentoo-commits] gentoo-syntax r94 - trunk/gentoo-syntax/plugin X-VCS-Repository: gentoo-syntax X-VCS-Revision: 94 X-VCS-Files: trunk/gentoo-syntax/plugin/newinitd.vim X-VCS-Directories: trunk/gentoo-syntax/plugin X-VCS-Committer: idl0r X-VCS-Committer-Name: Christian Ruppert Content-Type: text/plain; charset=UTF-8 Message-Id: <20120116190742.86E732004B@flycatcher.gentoo.org> Date: Mon, 16 Jan 2012 19:07:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 906a9f30-c547-4124-856b-375de38bc308 X-Archives-Hash: 342107ab2dce910b2c449ecf1e3664bf Author: idl0r Date: 2012-01-16 19:07:41 +0000 (Mon, 16 Jan 2012) New Revision: 94 Modified: trunk/gentoo-syntax/plugin/newinitd.vim Log: Minor improvements Let the GentooHeader() function append the shebang Jump back to the first line Modified: trunk/gentoo-syntax/plugin/newinitd.vim =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/gentoo-syntax/plugin/newinitd.vim 2012-01-16 19:05:42 UTC (rev = 93) +++ trunk/gentoo-syntax/plugin/newinitd.vim 2012-01-16 19:07:41 UTC (rev = 94) @@ -13,6 +13,8 @@ runtime! plugin/gentoo-common.vim =20 fun! MakeNewInitd() + call GentooHeader('#!/sbin/runscript') + " {{{ default functions put =3D'depend() {' put =3D'' @@ -27,8 +29,8 @@ put =3D'}' " }}} =20 - call GentooHeader() - 0 put =3D'#!/sbin/runscript' + " Jump back to the first line + 0 endfun =20 com! -nargs=3D0 NewInitd call MakeNewInitd() | set filetype=3Dgento= o-init-d