Coc-solargraph: Difference between revisions
From wikinotes
No edit summary |
|||
Line 51: | Line 51: | ||
* ctrl+n/p will continue to use vim's builtin keyword completion. | * ctrl+n/p will continue to use vim's builtin keyword completion. | ||
</blockquote><!-- Usage --> | </blockquote><!-- Usage --> | ||
= Troubleshooting = | |||
<blockquote> | |||
== could not find X-Y.Y.Y in any of the sources == | |||
<blockquote> | |||
</blockquote><!-- could not find X-Y.Y.Y in any of the sources --> | |||
</blockquote><!-- Troubleshooting --> |
Revision as of 16:02, 28 December 2021
COC LSP extension built overtop of ruby solargraph.
Documentation
github https://github.com/neoclide/coc-solargraph solargraph homepage https://github.com/castwide/solargraph
Tutorials
solagraph w/ rails http://iftheshoefritz.com/code%20completion/intellisense/rails/ruby/vscode/emacs/2020/06/18/rails-code-completion-with-lsp-and-solargraph.html
Install
NOTE:
If using a nix-provided nvim, coc-solargraph may fail to start within vim because directories are not writable.
If you are not getting completions, see
:CocInfo
.gem install neovim gem install solargraph gem install solargraph-rails --pre # if using rails:CocInstall coc-solargraph " uses solargraph on backendFor each project:
# add docs from project's gems to solargraph solargraph bundleMake sure to see ruby solargraph instructions for additional optimizations.
Usage
- ctrl+space triggers coc completion.
- ctrl+n/p will continue to use vim's builtin keyword completion.
Troubleshooting
could not find X-Y.Y.Y in any of the sources