Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim9script, functions calls without :call #78

Open
dezza opened this issue Jul 9, 2022 · 5 comments
Open

vim9script, functions calls without :call #78

dezza opened this issue Jul 9, 2022 · 5 comments

Comments

@dezza
Copy link

dezza commented Jul 9, 2022

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.

@chemzqm
Copy link

chemzqm commented Aug 13, 2022

@iamcco please consider adding support for vim9.

@iamcco
Copy link
Owner

iamcco commented Oct 11, 2022

@iamcco please consider adding support for vim9.

It need vim-vimlparser to support vim9.

@igbanam
Copy link

igbanam commented Oct 20, 2022

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

Screen.Recording.2022-10-20.at.09.42.17.mov

@igbanam
Copy link

igbanam commented Oct 20, 2022

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

@iamcco
Copy link
Owner

iamcco commented Nov 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants