summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2022-04-06 16:37:44 +0500
committerPatrice Clement <monsieurp@gentoo.org>2022-05-30 14:57:02 +0200
commitc0dd0b5ee76e7e237a75c436e63b5fe1ee9a81b4 (patch)
tree88f29664142058e8590dfa84d66bf8bd9a6f634b
parentvim-plugin.eclass: EAPI 8: add src_prepare (diff)
downloadgentoo-c0dd0b5e.tar.gz
gentoo-c0dd0b5e.tar.bz2
gentoo-c0dd0b5e.zip
vim-plugin.eclass: document VIM_PLUGIN_VIM_VERSION
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--eclass/vim-plugin.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass
index 9d300ad4826b..1dda852d5a57 100644
--- a/eclass/vim-plugin.eclass
+++ b/eclass/vim-plugin.eclass
@@ -22,7 +22,10 @@ if [[ ! ${_VIM_PLUGIN_ECLASS} ]]; then
inherit vim-doc
-VIM_PLUGIN_VIM_VERSION="${VIM_PLUGIN_VIM_VERSION:-7.3}"
+# @ECLASS_VARIABLE: VIM_PLUGIN_VIM_VERSION
+# @DESCRIPTION:
+# Minimum Vim version the plugin supports.
+: ${VIM_PLUGIN_VIM_VERSION:=7.3}
DEPEND="|| ( >=app-editors/vim-${VIM_PLUGIN_VIM_VERSION}
>=app-editors/gvim-${VIM_PLUGIN_VIM_VERSION} )"