Hi,

On Thu, Feb 3, 2022 at 8:12 AM Shane-XB-Qian <vim-dev-git...@256bit.org>
wrote:

> @brammool <https://github.com/brammool> :
>
> call foo#Bar()call FooBar()     # or `call g:FooBar()`
>
> looks once if above such func had s: scope action or var in it,
> // or it is, e.g g:Foo = s:abc.Foo
> then first one is ok when run directly in vimrc (not call in a legacy vim
> script func),
> but second one would be failed (err: not found func).
> // but looks (or i guess) No Err if no s: scope action or var in it, or
> run it manually when vim had enter done.
>
> @yegappan <https://github.com/yegappan> :
> if specific to your lsp plugin, the err happened at LspAddServer(cfg), and
> LspOptionsSet.
>
>
> I am not able to reproduce this error. Where are you calling the
LspAddServer() function from?
Are you calling it from a legacy vimrc file or a vim9 vimrc file? Are you
calling it at the script
level or inside a function?

BTW, I have updated the plugin to use a global function instead of a global
funcref variable for
these two functions. Can you update the plugin and try again?

Thanks,
Yegappan

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7nDXZ7zTcj9aKky%2B4Cq1mS8f4ML4Kwby5Dv8%3DHicGOW6A%40mail.gmail.com.

Raspunde prin e-mail lui