ruby: Disable Ruby LSP for ERB files#41754
Merged
osiewicz merged 1 commit intozed-industries:mainfrom Nov 3, 2025
Merged
Conversation
The Ruby extension uses the `solargraph` language server by default for Ruby files. However, when a user opens any ERB file, the extension automatically starts the Ruby LSP. This affects developers because they do not expect the Ruby LSP to be running.
This was referenced Nov 3, 2025
Closed
Contributor
|
@vitallium I wonder if this is going to be breaking features like this: Shopify/ruby-lsp-rails#659 /cc @janko |
Contributor
Author
Yes, it will break such things, so we need to document how to enable Ruby LSP in |
Contributor
|
Since I already have to explicitly enable |
P1n3appl3
pushed a commit
to bnjjj/zed
that referenced
this pull request
Nov 4, 2025
The Ruby extension uses the `solargraph` language server by default for Ruby files. However, when a user opens any ERB file, the extension automatically starts the Ruby LSP. This affects developers because they do not expect the Ruby LSP to be running. Closes zed-extensions/ruby#172 Release Notes: - N/A
osiewicz
pushed a commit
that referenced
this pull request
Nov 5, 2025
Hi, this is a follow-up change for #41754 I think it important to keep existing things working. So add notes to the Ruby extension doc about enabling Ruby LSP for ERB files as well. Thanks! Release Notes: - N/A
maxbrunsfeld
pushed a commit
that referenced
this pull request
Nov 6, 2025
Hi, this is a follow-up change for #41754 I think it important to keep existing things working. So add notes to the Ruby extension doc about enabling Ruby LSP for ERB files as well. Thanks! Release Notes: - N/A
maxbrunsfeld
pushed a commit
that referenced
this pull request
Nov 6, 2025
Hi, this is a follow-up change for #41754 I think it important to keep existing things working. So add notes to the Ruby extension doc about enabling Ruby LSP for ERB files as well. Thanks! Release Notes: - N/A
tomatitito
pushed a commit
to tomatitito/zed
that referenced
this pull request
Nov 7, 2025
The Ruby extension uses the `solargraph` language server by default for Ruby files. However, when a user opens any ERB file, the extension automatically starts the Ruby LSP. This affects developers because they do not expect the Ruby LSP to be running. Closes zed-extensions/ruby#172 Release Notes: - N/A
tomatitito
pushed a commit
to tomatitito/zed
that referenced
this pull request
Nov 7, 2025
…41851) Hi, this is a follow-up change for zed-industries#41754 I think it important to keep existing things working. So add notes to the Ruby extension doc about enabling Ruby LSP for ERB files as well. Thanks! Release Notes: - N/A
11happy
pushed a commit
to 11happy/zed
that referenced
this pull request
Dec 1, 2025
…41851) Hi, this is a follow-up change for zed-industries#41754 I think it important to keep existing things working. So add notes to the Ruby extension doc about enabling Ruby LSP for ERB files as well. Thanks! Release Notes: - N/A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Ruby extension uses the
solargraphlanguage server by default for Ruby files.
However, when a user opens any ERB file,
the extension automatically starts the Ruby LSP.
This affects developers because
they do not expect the Ruby LSP to be running.
Closes zed-extensions/ruby#172
Release Notes: