Re: Gutentags plugin autoload command not recognized by Vim9

8 views
Skip to first unread message

Christian Brabandt

unread,
Oct 14, 2022, 4:23:16 AM10/14/22
to vim_use

On Fr, 14 Okt 2022, N V wrote:

> Hi,
>
> Using Vim9 64bits build on Win10 patch 0744,
> with some plugins installed from vimplug, as gutentags
> https://github.com/ludovicchabant/vim-gutentags which has some command in $vim/vimfiles/plugged/vim-gutentags/autoload/gutentags.vim such as Gutentags Update.
>
> Why this command :GutentagsUpdate is not known by Vim ?
>
> E492: Not an editor command : GutentagsUpdate

It looks like this command is defined in an autoload script (and only
inside the function gutentags#setup_gutentags()), so it is only
available, once that function has been called (and the autoload script
has been sourced).

Check the output of :sriptnames if it is read and possibly just call
gutentags#setup_gutentags() before calling that command.


Best,
Christian
--
Eitelkeit ist der Wunsch, bei dem, was man tut, gesehen zu werden.
-- Heide Simonis

N V

unread,
Oct 14, 2022, 7:16:13 AM10/14/22
to vim_use
Confirmed that
scriptnames output returns vimfiles/plugged/vim-gutentags/plugin/gutentags.vim and autoload/gutentags.vim

And E117: Unknown function: gutentag#setup_gutentags is output on the call from $VIMRUNTIME. 



Sumup: i noticed since vim9 that it is not convenaient way to have to open and source manually autoload part of existing vimscripts. 
Not convenient. 
Nicolas
Reply all
Reply to author
Forward
0 new messages