CoC Solargraph Ruby Settings
Dusty Candland |
|
vim, neovim, ruby, coc, solargraph, asdf
Using [Coc] with [Neovim] in ZSH and a ruby version manager, like RVM, or [ASDF].
Using Coc with Neovim in ZSH and a ruby version manager, like RVM, or ASDF.
- In Neovim run
:CocConfig
and add the following setting. This will use your project Gemfile file.
{
"solargraph.useBundler": true,
}
-
Add the
solargraph
gem to you Gemfile, indevelopment
-
Make sure ZSH sources you ruby version manager. This needs to go in
~/.zprofile
due to the way solargraph is run. More details here: GitHub Issue
# Source ASDF
. $(brew --prefix asdf)/asdf.sh
Webmentions
These are webmentions via the IndieWeb and webmention.io. Mention this post from your site: