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 21:58:50 +02:00 committed by GitHub
parent d27fef7b2c
commit 769ae8b101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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"