helix icon indicating copy to clipboard operation
helix copied to clipboard

Improve `:set-language` command

Open A-Walrus opened this issue 2 years ago • 2 comments

Add text to completion for possible languages, and report error if user inputs invalid language.

A-Walrus avatar Aug 08 '22 19:08 A-Walrus

Does this cause any trouble with the language server? Do we shut down the language server if we say :lang text?

the-mikedavis avatar Aug 08 '22 22:08 the-mikedavis

Does this cause any trouble with the language server? Do we shut down the language server if we say :lang text?

This seems to be an already existing bug. Currently on 22.05 when changing a language the language server is not killed. In fact if I change it to a language that I don't have the language server for (go in my case), not only is the language server not shut-down, but it is also still responding to requests: asciinema

A-Walrus avatar Aug 09 '22 07:08 A-Walrus