Language server is started even though enable_language_server
for that language is set to false
#21367
Open
1 task done
Labels
awaiting info
Issue that needs more information from the user
language server
An umbrella label for all language servers
language
An umbrella label for all programming languages syntax behaviors
ruby
Ruby programming language support
Check for existing issues
Describe the bug / provide steps to reproduce it
Zed's website on settings says that it's possible to enable/disable language servers for specific languages:
I have this in my Zed config:
I would expect that this enables language servers in general, but disables language servers for the Ruby language.
However, when I start Zed, I see this which implies that Zed wanted to start the ruby-lsp language server:
When I click on that, a new tab opens with the long output below and in Zed's log I see this:
ruby-lsp error shown in new tab:
This problem isn't a recent change -- it's been like this for a while, and I just decided to finally open an issue for it.
When I set
"enable_language_server": false
for Ruby, I'd expect Zed not to even attempt to do anything with the language servers for Ruby, instead of attempting to start it for some reason.If I set the general (non-language specific)
enable_language_server
option tofalse
, then Zed correctly doesn't start any language serevers.Environment
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
No response
The text was updated successfully, but these errors were encountered: