Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38717 Details for
Bug 62559
Better handling for vim plugins with help files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated vim-plugin-eclass-helpfiles.patch
vim-plugin-eclass-helpfiles.patch (text/plain), 1.45 KB, created by
Ciaran McCreesh
on 2004-09-01 17:48:15 UTC
(
hide
)
Description:
updated vim-plugin-eclass-helpfiles.patch
Filename:
MIME Type:
Creator:
Ciaran McCreesh
Created:
2004-09-01 17:48:15 UTC
Size:
1.45 KB
patch
obsolete
>Index: vim-plugin.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v >retrieving revision 1.5 >diff -u -r1.5 vim-plugin.eclass >--- vim-plugin.eclass 25 Jun 2004 00:39:48 -0000 1.5 >+++ vim-plugin.eclass 2 Sep 2004 00:44:27 -0000 >@@ -47,6 +47,7 @@ > vim-plugin_pkg_postinst() { > update_vim_helptags # from vim-doc > update_vim_afterscripts # see below >+ display_vim_plugin_help # see below > } > > vim-plugin_pkg_postrm() { >@@ -88,3 +89,35 @@ > fi > done > } >+ >+# Display a message with the plugin's help file if one is available. Uses the >+# VIM_PLUGIN_HELPFILES env var. If multiple help files are available, they >+# should be separated by spaces. If no help files are available, but the env >+# var VIM_PLUGIN_HELPTEXT is set, that is displayed instead. For multiline >+# help messages, VIM_PLUGIN_HELPTEXT can be an array. >+display_vim_plugin_help() { >+ local h >+ >+ if [ -n "${VIM_PLUGIN_HELPFILES}" ] ; then >+ einfo " " >+ einfo "This plugin provides documentation via vim's help system. To" >+ einfo "view it, use:" >+ for h in ${VIM_PLUGIN_HELPFILES} ; do >+ einfo " :help ${helpfile}" >+ done >+ einfo " " >+ >+ elif [ -n "${VIM_PLUGIN_HELPTEXT}" ] ; then >+ einfo " " >+ if [ ${#VIM_PLUGIN_HELPTEXT[@]} > 1 ] ; then >+ for (( h=0 ; h < ${#VIM_PLUGIN_HELPTEXT[@]} ; h++)) ; do >+ einfo ${VIM_PLUGIN_HELPTEXT[${h}]} >+ done >+ else >+ einfo ${VIM_PLUGIN_HELPTEXT} >+ fi >+ einfo " " >+ >+ fi >+} >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62559
:
38712
|
38717
|
38758