ruby: Adjust language servers languages (#15297)

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
This commit is contained in:
Vitaly Slobodin
2024-07-26 15:58:50 -04:00
committed by GitHub
parent d27fef7b2c
commit 769ae8b101
+3 -3
View File
@@ -8,15 +8,15 @@ repository = "https://github.com/zed-industries/zed"
[language_servers.solargraph]
name = "Solargraph"
language = "Ruby"
languages = ["Ruby"]
[language_servers.ruby-lsp]
name = "Ruby LSP"
language = "Ruby"
languages = ["Ruby", "ERB"]
[language_servers.rubocop]
name = "Rubocop"
language = "Ruby"
languages = ["Ruby"]
[grammars.ruby]
repository = "https://github.com/tree-sitter/tree-sitter-ruby"