diff options
| author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-01-08 01:58:33 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-08 01:58:33 -0800 |
| commit | cf627881198acde0b28714211777b4e6f63f47f0 (patch) | |
| tree | d5344fd73ef7dc3b5686c2ea3848ec6447668639 /lua | |
| parent | Merge pull request #555 from mjlbach/fix_rls_documentation (diff) | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-cf627881198acde0b28714211777b4e6f63f47f0.tar nvim-lspconfig-cf627881198acde0b28714211777b4e6f63f47f0.tar.gz nvim-lspconfig-cf627881198acde0b28714211777b4e6f63f47f0.tar.bz2 nvim-lspconfig-cf627881198acde0b28714211777b4e6f63f47f0.tar.lz nvim-lspconfig-cf627881198acde0b28714211777b4e6f63f47f0.tar.xz nvim-lspconfig-cf627881198acde0b28714211777b4e6f63f47f0.tar.zst nvim-lspconfig-cf627881198acde0b28714211777b4e6f63f47f0.zip | |
Merge pull request #556 from mjlbach/solargraph_diagnostics
solargraph: enable diagnostics by default
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/solargraph.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lua/lspconfig/solargraph.lua b/lua/lspconfig/solargraph.lua index 5aa2ec17..fde1c359 100644 --- a/lua/lspconfig/solargraph.lua +++ b/lua/lspconfig/solargraph.lua @@ -8,6 +8,11 @@ end configs.solargraph = { default_config = { cmd = {bin_name, "stdio"}; + settings = { + solargraph = { + diagnostics = true; + }; + }; filetypes = {"ruby"}; root_dir = util.root_pattern("Gemfile", ".git"); }; @@ -21,7 +26,7 @@ solargraph, a language server for Ruby You can install solargraph via gem install. ```sh -gem install solargraph +gem install --user-install solargraph ``` ]]; default_config = { |
