Skip to content

Conversation

@vitallium
Copy link
Contributor

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

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
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jul 26, 2024
[language_servers.solargraph]
name = "Solargraph"
language = "Ruby"
languages = ["Ruby"]
Copy link
Contributor Author

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"]
Copy link
Contributor Author

@vitallium vitallium Jul 26, 2024

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.

Copy link
Member

@maxdeviant maxdeviant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@maxdeviant maxdeviant merged commit 769ae8b into zed-industries:main Jul 26, 2024
@vitallium vitallium deleted the vs/ruby-adjust-languages branch July 26, 2024 19:59
@vitallium vitallium mentioned this pull request Aug 6, 2024
maxdeviant added a commit that referenced this pull request Aug 6, 2024
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>
notpeter pushed a commit to zed-extensions/ruby that referenced this pull request Oct 11, 2024
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
notpeter pushed a commit to zed-extensions/ruby that referenced this pull request Oct 11, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants