1 |
commit: c0dd0b5ee76e7e237a75c436e63b5fe1ee9a81b4 |
2 |
Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed Apr 6 11:37:44 2022 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 30 12:57:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0dd0b5e |
7 |
|
8 |
vim-plugin.eclass: document VIM_PLUGIN_VIM_VERSION |
9 |
|
10 |
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
eclass/vim-plugin.eclass | 5 ++++- |
14 |
1 file changed, 4 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass |
17 |
index 9d300ad4826b..1dda852d5a57 100644 |
18 |
--- a/eclass/vim-plugin.eclass |
19 |
+++ b/eclass/vim-plugin.eclass |
20 |
@@ -22,7 +22,10 @@ if [[ ! ${_VIM_PLUGIN_ECLASS} ]]; then |
21 |
|
22 |
inherit vim-doc |
23 |
|
24 |
-VIM_PLUGIN_VIM_VERSION="${VIM_PLUGIN_VIM_VERSION:-7.3}" |
25 |
+# @ECLASS_VARIABLE: VIM_PLUGIN_VIM_VERSION |
26 |
+# @DESCRIPTION: |
27 |
+# Minimum Vim version the plugin supports. |
28 |
+: ${VIM_PLUGIN_VIM_VERSION:=7.3} |
29 |
|
30 |
DEPEND="|| ( >=app-editors/vim-${VIM_PLUGIN_VIM_VERSION} |
31 |
>=app-editors/gvim-${VIM_PLUGIN_VIM_VERSION} )" |