• [gentoo-dev] [PATCH v5 5/9] vim-plugin.eclass: document VIM_PLUGIN_VIM_

    From Anna Vyalkova@21:1/5 to All on Mon Apr 11 14:40:01 2022
    Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
    ---
    eclass/vim-plugin.eclass | 3 +++
    1 file changed, 3 insertions(+)

    diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass
    index a7b5f258b0..a521c3673c 100644
    --- a/eclass/vim-plugin.eclass
    +++ b/eclass/vim-plugin.eclass
    @@ -1,225 +1,228 @@
    # Copyright 1999-2022 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: vim-plugin.eclass
    # @MAINTAINER:
    # vim@gentoo.org
    # @SUPPORTED_EAPIS: 6 7 8
    # @BLURB: used for installing vim plugins
    # @DESCRIPTION:
    # This eclass simplifies installation of app-vim plugins into
    # /usr/share/vim/vimfiles. This is a version-independent directory
    # which is read automatically by vim. The only exception is
    # documentation, for which we make a special case via vim-doc.eclass.

    case ${EAPI} in
    6|7) ;;
    8) _DEFINE_VIM_PLUGIN_SRC_PREPARE=true ;;
    *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
    esac

    if [[ ! ${_VIM_PLUGIN_ECLASS} ]]; then

    inherit vim-doc

    fi

    EXPORT_FUNCT