Ruby code completion.
VimL
Latest commit 10ba87d Apr 30, 2016 @osyo-manga Merge pull request #8 from smarquez1/master
Update README.md
Permalink
Failed to load latest commit information.
after/ftplugin/ruby Refactoring all. Aug 15, 2014
autoload Fix bottom candidate automatically seleceted Oct 17, 2015
doc Fix document. Apr 26, 2015
plugin Improve debug log. Aug 7, 2014
README.md Update README.md Mar 4, 2016

README.md

monster.vim

Ruby のコード補完プラグイン

Requirement

  • gem
    • gem install rcodetools

Screencapture

monster

Using

<C-x><C-o> でコード補完を開始します。

Setting

" Use neocomplete.vim
let g:neocomplete#sources#omni#input_patterns = {
\   "ruby" : '[^. *\t]\.\w*\|\h\w*::',
\}

Setting by async completion

" Set async completion.
let g:monster#completion#rcodetools#backend = "async_rct_complete"

" With neocomplete.vim
let g:neocomplete#sources#omni#input_patterns = {
\   "ruby" : '[^. *\t]\.\w*\|\h\w*::',
\}

" With deoplete.nvim
let g:monster#completion#rcodetools#backend = "async_rct_complete"
let g:deoplete#sources#omni#input_patterns = {
\   "ruby" : '[^. *\t]\.\w*\|\h\w*::',
\}