diff --git a/lua/lazyvim/plugins/extras/lang/ruby.lua b/lua/lazyvim/plugins/extras/lang/ruby.lua index c70e645d..c8464099 100644 --- a/lua/lazyvim/plugins/extras/lang/ruby.lua +++ b/lua/lazyvim/plugins/extras/lang/ruby.lua @@ -11,9 +11,16 @@ return { }, { "neovim/nvim-lspconfig", + ---@class PluginLspOpts opts = { + ---@type lspconfig.options servers = { - solargraph = {}, + -- disable solargraph from auto running when you open ruby files + solargraph = { + autostart = false, + }, + -- ruby_lsp will be automatically installed with mason and loaded with lspconfig + ruby_lsp = {}, }, }, },