-
Notifications
You must be signed in to change notification settings - Fork 6.3k
ruby: Adjust language servers languages #15297
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
ruby: Adjust language servers languages #15297
Conversation
Change the "language" field to the "languages" field because the `language` field is deprecated. Additionally, allow the Ruby LSP to run in `*.erb` files. Release Notes: - N/A
| [language_servers.solargraph] | ||
| name = "Solargraph" | ||
| language = "Ruby" | ||
| languages = ["Ruby"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solargraph does not support ERB templates.
| [language_servers.rubocop] | ||
| name = "Rubocop" | ||
| language = "Ruby" | ||
| languages = ["Ruby"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rubocop does not support ERB templates because there is erb-lint linter that utilises rubocop under the hood.
maxdeviant
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
ruby: Bump extension version to v0.1.0 Why not v0.0.9? I think the Ruby extension is mature, and it's time to release the first minor version. But I am totally OK with changing it to 0.0.9. Included changes: - #15778 - #15762 - #15110 - #15297 Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Hi. This is a small pull request that changes the "language" field to the "languages" field because the `language` field is deprecated. Additionally, allow the Ruby LSP to run in `*.erb` files. Release Notes: - N/A
Bump extension version to v0.1.0 Why not v0.0.9? I think the Ruby extension is mature, and it's time to release the first minor version. But I am totally OK with changing it to 0.0.9. Included changes: - zed-industries/zed#15778 - zed-industries/zed#15762 - zed-industries/zed#15110 - zed-industries/zed#15297 Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
Hi. This is a small pull request that changes the "language" field to the "languages" field
because the
languagefield is deprecated.Additionally, allow the Ruby LSP to run in
*.erbfiles.Release Notes: