Skip to content

Ruby#

Server#

For more information about the LSP server, check solargraph.

Installation#

gem install solargraph

Debugger: Yes#

Available configurations#

lsp-solargraph-completion#

Default: t

Enable completion


lsp-solargraph-hover#

Default: t

Enable hover


lsp-solargraph-diagnostics#

Default: t

Enable diagnostics


lsp-solargraph-autoformat#

Default: nil

Enable automatic formatting while typing (WARNING: experimental)


lsp-solargraph-formatting#

Default: t

Enable document formatting


lsp-solargraph-symbols#

Default: t

Enable symbols


lsp-solargraph-definitions#

Default: t

Enable definitions (go to, etc.)


lsp-solargraph-rename#

Default: t

Enable symbol renaming


lsp-solargraph-references#

Default: t

Enable finding references


lsp-solargraph-folding#

Default: t

Enable folding ranges


lsp-solargraph-log-level#

Default: warn

Level of debug info to log. ‘warn‘ is least and ‘debug‘ is most.


lsp-solargraph-use-bundler#

Default: nil

Run solargraph under bundler


lsp-solargraph-multi-root#

Default: t

If non nil, ‘solargraph’ will be started in multi-root mode.


lsp-solargraph-library-directories#

Default: (~/.rbenv/ /usr/lib/ruby/ ~/.rvm/ ~/.gem/)

List of directories which will be considered to be libraries.



Last update: April 15, 2021