Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38758 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.25 KB, created by
Ciaran McCreesh
on 2004-09-02 07:23:18 UTC
(
hide
)
Description:
updated vim-plugin-eclass-helpfiles.patch
Filename:
MIME Type:
Creator:
Ciaran McCreesh
Created:
2004-09-02 07:23:18 UTC
Size:
1.25 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 14:20:05 -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,30 @@ > 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. >+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 ${h}" >+ done >+ einfo " " >+ >+ elif [[ -n "${VIM_PLUGIN_HELPTEXT}" ]] ; then >+ einfo " " >+ while read h ; do >+ einfo $h >+ done <<<"${VIM_PLUGIN_HELPTEXT}" >+ 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