Skip to content

osyo-manga/vim-monster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monster.vim

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

Requirement

どちらかをインストールします。

  • gem
  • gem install rcodetools
  • gem install solargraph

solargraph を使う場合は以下を設定します。

let g:monster#completion#backend = 'solargraph'

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"
" Or let g:monster#completion#solargraph#backend = "async_solargraph_suggest"

" 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"
" Or let g:monster#completion#solargraph#backend = "async_solargraph_suggest"
let g:deoplete#sources#omni#input_patterns = {
\   "ruby" : '[^. *\t]\.\w*\|\h\w*::',
\}

About

Ruby code completion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published