diff options
author | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-09-09 19:18:04 +0000 |
---|---|---|
committer | Ciaran McCreesh <ciaranm@gentoo.org> | 2004-09-09 19:18:04 +0000 |
commit | 258d239e452bebb3c98fd65a184bff7508bb6da7 (patch) | |
tree | 5191f42d78b963918e70c23d7df4975f74d53beb /eclass/vim-plugin.eclass | |
parent | added ~amd64 and fixed net-www/prozgui-2.0.5 (#61676) (diff) | |
download | historical-258d239e452bebb3c98fd65a184bff7508bb6da7.tar.gz historical-258d239e452bebb3c98fd65a184bff7508bb6da7.tar.bz2 historical-258d239e452bebb3c98fd65a184bff7508bb6da7.zip |
added VIM_PLUGIN_HELPURI
Diffstat (limited to 'eclass/vim-plugin.eclass')
-rw-r--r-- | eclass/vim-plugin.eclass | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass index e9fe2de77a1d..f4e5c1463bfb 100644 --- a/eclass/vim-plugin.eclass +++ b/eclass/vim-plugin.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.7 2004/09/05 00:22:54 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vim-plugin.eclass,v 1.8 2004/09/09 19:18:04 ciaranm Exp $ # # This eclass simplifies installation of app-vim plugins into # /usr/share/vim/vimfiles. This is a version-independent directory @@ -93,7 +93,8 @@ update_vim_afterscripts() { # 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. +# var VIM_PLUGIN_HELPTEXT is set, that is displayed instead. Finally, if we +# have nothing else, display a link to VIM_PLUGIN_HELPURI. display_vim_plugin_help() { local h @@ -113,6 +114,11 @@ display_vim_plugin_help() { done <<<"${VIM_PLUGIN_HELPTEXT}" einfo " " + elif [[ -n "${VIM_PLUGIN_HELPURI}" ]] ; then + einfo " " + einfo "Documentation for this plugin is available online at:" + einfo " ${VIM_PLUGIN_HELPURI}" + einfo " " fi } |