Skip to main content

Posts

Vim with Solargraph: autocompletion heaven.

·4 mins

UPDATE: just use coc.nvim; it’s much simpler.


I’ve long been in search of good Ruby auto-completion framework for vim, without luck. As soon as a new option comes about, I’ll jump on it, only to find that it either doesn’t work at all, or sometimes does its job at best.

Fortunately, we now have Solargraph. Solargraph understands Ruby code and does a great job of extracting pertinent information for auto-completion, documentation, and refactoring purposes.