mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
14 lines
349 B
Lua
14 lines
349 B
Lua
return {
|
|
"neovim/nvim-lspconfig",
|
|
opts = function(_, opts)
|
|
opts.servers = opts.servers or {}
|
|
|
|
-- Ruby LSP
|
|
opts.servers.ruby_lsp = vim.tbl_deep_extend("force", opts.servers.ruby_lsp or {}, {
|
|
cmd = { vim.fn.expand("~/.asdf/shims/ruby"), "-S", "ruby-lsp" },
|
|
})
|
|
|
|
-- Dart LSP (Flutter)
|
|
opts.servers.dartls = {}
|
|
end,
|
|
}
|