r/vim • • 27d ago

Plugin vim9ls -- language server for vim9

https://github.com/h-east/vim9ls

Works with the latest vim master branch (or latest windows build from https://github.com/vim/vim-win32-installer/).

Looks pretty good so far combined with https://github.com/h-east/lsp.vim

21 Upvotes

10 comments sorted by

3

u/EgZvor 27d ago

The fact that it runs from Vim is cool, I'll try it out.

2

u/Desperate_Cold6274 27d ago

Few weeks ago another guy posted a LS, it would be interesting a comparison.

The same for the recommended client and yegappan/lsp client.

1

u/y-c-c 27d ago

Yeah I was wondering about that too. This is the thread for those curious: https://www.reddit.com/r/vim/comments/1w86gqp/vimlsgo_010_a_language_server_for_vim_script_and/

0

u/Desperate_Cold6274 26d ago

I am giving it a shot right now. If I can give first a honest feedback, I don't really buy the distribution model. The LS should be distributed separately and should not be entangled to a Vim plugin.

3

u/habamax 26d ago

LS here is a combination of the same vim (in a separate process) and some harness in form of a vim plugin. Pretty convenient I would say, no external compilable dependencies.

0

u/Desperate_Cold6274 26d ago

Ok, I don't know what is inside the .cmd file, but as the author wrote is the LS itself (not the harness) entirely written in Vim9? I.e. the .cmd run another Vim process?

→ More replies (4)