Skip to content
Solargraph extension for coc
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src add solargraph shell Dec 21, 2018
.gitignore
.npmignore
Readme.md Add YARD information to README Apr 20, 2019
package.json
tsconfig.json
tslint.json init Sep 6, 2018
yarn.lock

Readme.md

coc-solargraph

Ruby language server extension using solargraph for coc.nvim.

Install

Install solargraph by:

gem install solargraph

In your vim/neovim, run command:

:CocInstall coc-solargraph

Features

Coc support all features of solargraph

Configuration options

  • solargraph.enable set to false to disable Solargraph language server.
  • solargraph.trace.server trace LSP traffic in output channel.
  • solargraph.filetypes default to ['ruby'].
  • solargraph.commandPath the absolute path of solargraph command, find from $PATH by default.
  • solargraph.checkGemVersion automatically 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 yard gems

To ensure YARD docs are auto-generated for future gem installs, run yard config --gem-install-yri to update your ~/.gemrc settings file.

License

MIT

You can’t perform that action at this time.