Friday, October 14, 2022

Re: Gutentags plugin autoload command not recognized by Vim9

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


Le vendredi 14 octobre 2022 à 10:23:16 UTC+2, cbl...@256bit.org a écrit :

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

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/ea126f2f-6fb9-445b-a321-e25a61249f92n%40googlegroups.com.

No comments: