Skip to content

Commit

Permalink
docs: Rename ruby_ls to ruby_lsp in neovim setup (#1936)
Browse files Browse the repository at this point in the history
Update neovim setup to use the name ruby_lsp
  • Loading branch information
nithinbekal authored Apr 22, 2024
1 parent edd4756 commit 35186c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions EDITORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ When you run `eglot` command it will run `ruby-lsp` process for you.

### nvim-lspconfig

The [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/ruby_ls.lua)
The [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/ruby_lsp.lua)
plugin has support for Ruby LSP.

### Mason
Expand All @@ -42,7 +42,7 @@ along with [mason-lspconfig.nvim](https://github.com/williamboman/mason-lspconfi
local capabilities = vim.lsp.protocol.make_client_capabilities()
local mason_lspconfig = require("mason-lspconfig")
local servers = {
ruby_ls = {},
ruby_lsp = {},
}

mason_lspconfig.setup {
Expand Down Expand Up @@ -150,7 +150,7 @@ local function add_ruby_deps_command(client, bufnr)
end


require("lspconfig").ruby_ls.setup({
require("lspconfig").ruby_lsp.setup({
on_attach = function(client, buffer)
setup_diagnostics(client, buffer)
add_ruby_deps_command(client, buffer)
Expand Down

0 comments on commit 35186c4

Please sign in to comment.