Plugin requires files to be placed under "vimcurrent" directory

harish badrinath harishbadrinath at gmail.com
Fri Sep 9 10:37:55 UTC 2011


On Mon, Sep 5, 2011 at 2:46 AM, James Vega <jamessan at debian.org> wrote:
> On Sun, Sep 04, 2011 at 01:19:52PM +0530, harish badrinath wrote:


>> The plugin source tree contains a directory called autoload, when the
>> contents of this directory are place in
>> /usr/share/vim/vimcurrent/autoload, the plugin is functional.
>> Else
>> i get the following error
>> "E117:Unknownfunction:conque_term#open"
>
> You'll likely find the Vim addon policy[0] useful.
>

> Install your package's files to a directory specific to your package[1].
> Since you're packaging the conque plugin, /usr/share/vim-conque may be a
> logical place.  As an example, the autoload/conque_term.vim file could
> be installed to /usr/share/vim-conque/autoload/conque_term.vim.

It worked. (Its not accepted into debian repo's as of today *yet*)
I place the contents of autoload under /usr/share/vim/addons/.
My computer did not have a autoload directory under "/usr/share/vim/addons/",
so i asked this question.

I noticed that if i place files under /var/lib/vim/addons/,
even if the yaml file contains a "disabledby" field, the plugin is enabled
by default. Is this a valid observation ??


Regards,
Harish



More information about the pkg-vim-maintainers mailing list