Replace ruby_ls with ruby_lsp

It was deprecated in favor of...
This commit is contained in:
Marcelo Jacobus 2025-01-10 12:34:14 -03:00
parent eb66847167
commit 48e9b425dd

View file

@ -4,9 +4,9 @@ require("config.lazy")
-- init.lua
local lspconfig = require("lspconfig")
if lspconfig and lspconfig.ruby_ls and lspconfig.ruby_ls.setup then
if lspconfig and lspconfig.ruby_lsp and lspconfig.ruby_lsp.setup then
-- Setup Ruby Language Server
lspconfig.ruby_ls.setup({
lspconfig.ruby_lsp.setup({
cmd = { "ruby-lsp" },
filetypes = { "ruby" },
settings = {