summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2004-09-09 19:18:04 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2004-09-09 19:18:04 +0000
commite25f118dc5d06f3c6b024b748f415dccc3f08649 (patch)
treef64943ced606f8ff2e4a6992902539cc2c19c66e /eclass/vim-plugin.eclass
parentadded ~amd64 and fixed net-www/prozgui-2.0.5 (#61676) (Manifest recommit) (diff)
downloadgentoo-2-e25f118dc5d06f3c6b024b748f415dccc3f08649.tar.gz
gentoo-2-e25f118dc5d06f3c6b024b748f415dccc3f08649.tar.bz2
gentoo-2-e25f118dc5d06f3c6b024b748f415dccc3f08649.zip
added VIM_PLUGIN_HELPURI
Diffstat (limited to 'eclass/vim-plugin.eclass')
-rw-r--r--eclass/vim-plugin.eclass10
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
}