diff options
Diffstat (limited to 'nvim/lsp/solargraph.lua')
| -rwxr-xr-x | nvim/lsp/solargraph.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nvim/lsp/solargraph.lua b/nvim/lsp/solargraph.lua new file mode 100755 index 0000000..0d44e99 --- /dev/null +++ b/nvim/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' }, +} |
