vim-language-server icon indicating copy to clipboard operation
vim-language-server copied to clipboard

vim9script, functions calls without :call

Open dezza opened this issue 3 years ago • 5 comments

Describe the bug Using a function as intended in vim9script, without :call will result in E492: Not an editor command:

To Reproduce Steps to reproduce the behavior:

vim9script
def Foo():
  echom "done"
enddef
foo() # E92: Not an editor command: foo

Expected behavior Resolving vim9 functions.

dezza avatar Jul 09 '22 18:07 dezza

@iamcco please consider adding support for vim9.

chemzqm avatar Aug 13 '22 04:08 chemzqm

@iamcco please consider adding support for vim9.

It need vim-vimlparser to support vim9.

iamcco avatar Oct 11 '22 09:10 iamcco

How do I setup the support for vim9 with vim-vimlparser?

https://user-images.githubusercontent.com/390059/196914695-e9965ddf-5acb-4360-ba5e-24c8927507e1.mov

igbanam avatar Oct 20 '22 09:10 igbanam

For context, I'm using vim-language-server through yegappan/lsp

igbanam avatar Oct 20 '22 09:10 igbanam

How do I setup the support for vim9 with vim-vimlparser?

What I mean is vim-language-server depend on vim-vimlparser to support vim9 and by now vim-vimlparser does not support vim9.

iamcco avatar Nov 12 '22 04:11 iamcco