Install solargraph by:
gem install solargraph
In your vim/neovim, run command:
Coc support all features of solargraph
falseto disable Solargraph language server.
solargraph.trace.servertrace LSP traffic in output channel.
solargraph.commandPaththe absolute path of
solargraphcommand, find from
solargraph.checkGemVersionautomatically check if a new version of the Solargraph gem is available.
Trigger completion in your
coc-settings.json to get full list.
Better gem integration
If you generate YARD docs for your gems, Solargraph will do a better job of resolving file paths and documentation.
To generate docs for your current gems, run
To ensure YARD docs are auto-generated for future
gem installs, run
yard config --gem-install-yri to update your
~/.gemrc settings file.