nvim/lsp/solargraph.lua
2025-09-22 16:07:34 +02:00

24 lines
454 B
Lua

---@brief
---
--- https://solargraph.org/
---
--- solargraph, a language server for Ruby
---
--- You can install solargraph via gem install.
---
--- ```sh
--- gem install --user-install solargraph
--- ```
---@type vim.lsp.Config
return {
cmd = { 'solargraph', 'stdio' },
settings = {
solargraph = {
diagnostics = true,
},
},
init_options = { formatting = true },
filetypes = { 'ruby' },
root_markers = { 'Gemfile', '.git' },
}