diff options
Diffstat (limited to 'lsp/solargraph.lua')
| -rw-r--r-- | lsp/solargraph.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lsp/solargraph.lua b/lsp/solargraph.lua new file mode 100644 index 00000000..c7a86d44 --- /dev/null +++ b/lsp/solargraph.lua @@ -0,0 +1,22 @@ +---@brief +--- +---https://solargraph.org/ +-- +-- solargraph, a language server for Ruby +-- +-- You can install solargraph via gem install. +-- +-- ```sh +-- gem install --user-install solargraph +-- ``` +return { + cmd = { 'solargraph', 'stdio' }, + settings = { + solargraph = { + diagnostics = true, + }, + }, + init_options = { formatting = true }, + filetypes = { 'ruby' }, + root_markers = { 'Gemfile', '.git' }, +} |
