aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-09-09 00:22:17 -0400
committerTim Harder <radhermit@gentoo.org>2016-09-09 00:22:17 -0400
commit055b4b16b55fe84898477ba39b37e2bcce9ccbb8 (patch)
tree6ae9e34b35a7c4dbc0c9439cb15b3abca5d62291
parentftdetect: detect both runscript and openrc-run shebangs as init scripts (diff)
downloadgentoo-syntax-055b4b16.tar.gz
gentoo-syntax-055b4b16.tar.bz2
gentoo-syntax-055b4b16.zip
plugin/newebuild.vim: use DIST_AUTHOR instead of MODULE_AUTHOR for perl ebuilds
For writing new EAPI 6 perl ebuilds properly. Fixes #7.
-rw-r--r--plugin/newebuild.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index 7197e41..5020b36 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -127,7 +127,7 @@ fun! <SID>MakeNewEbuild()
put ='}'
elseif l:category ==# "dev-perl" || l:category ==# "perl-core"
" {{{ perl modules default setup
- put ='MODULE_AUTHOR=\"\"'
+ put ='DIST_AUTHOR=\"\"'
put ='inherit perl-module'
put =''
put ='DESCRIPTION=\"\"'
@@ -171,7 +171,7 @@ fun! <SID>MakeNewEbuild()
" {{{ go to the first thing to edit
0
- /^\(MODULE_AUTHOR\|DESCRIPTION\)=/
+ /^\(DIST_AUTHOR\|DESCRIPTION\)=/
exec "normal 2f\""
nohls
" }}}