refactor: add ruby lsp

This commit is contained in:
Dinesh Salunke 2024-12-16 12:45:24 +05:30
parent b6a9376e6e
commit ed6dd19238

View File

@ -46,6 +46,7 @@ return {
"lua_ls", "lua_ls",
"gopls", "gopls",
"yamlls", "yamlls",
"ruby-lsp",
}) })
local lspconfig = require("lspconfig") local lspconfig = require("lspconfig")
@ -62,6 +63,7 @@ return {
}, },
root_dir = util.root_pattern("go.work", "go.mod", ".git"), root_dir = util.root_pattern("go.work", "go.mod", ".git"),
}) })
lspconfig.ruby_lsp.setup({})
lsp.setup() lsp.setup()
end, end,