Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 62559 | Differences between
and this patch

Collapse All | Expand All

(-)vim-plugin.eclass (+18 lines)
Lines 47-52 Link Here
47
vim-plugin_pkg_postinst() {
47
vim-plugin_pkg_postinst() {
48
	update_vim_helptags		# from vim-doc
48
	update_vim_helptags		# from vim-doc
49
	update_vim_afterscripts	# see below
49
	update_vim_afterscripts	# see below
50
	display_vim_plugin_help	# see below
50
}
51
}
51
52
52
vim-plugin_pkg_postrm() {
53
vim-plugin_pkg_postrm() {
Lines 88-90 Link Here
88
		fi
89
		fi
89
	done
90
	done
90
}
91
}
92
93
# Display a message with the plugin's help file if one is available. Uses
94
# the VIM_PLUGIN_HELPFILES env var. If multiple help files are available, they
95
# bug #62559.
96
display_vim_plugin_help() {
97
	local helpfile
98
	if [ -n "${VIM_PLUGIN_HELPFILES}" ] ; then
99
		einfo " "
100
		einfo "This plugin provides documentation via vim's help system. To"
101
		einfo "view it, use:"
102
		for helpfile in ${VIM_PLUGIN_HELPFILES} ; do
103
			einfo "    :help ${helpfile}"
104
		done
105
		einfo " "
106
	fi
107
}
108

Return to bug 62559