/asyncomplete-ruby.vim

Asyncomplete ruby source

Primary LanguageVim script

ruby source for asyncomplete.vim

Provide ruby completions for asyncomplete.vim

Distionary source thanks to fishbullet/deoplete-ruby

Installing

Plug 'prabirshrestha/asyncomplete.vim'
Plug 'akemrir/asyncomplete-ruby.vim'

Registration

call asyncomplete#register_source(asyncomplete#sources#ruby#get_source_options({
      \ 'name': 'ruby',
      \ 'priority': 1,
      \ 'whitelist': ['ruby'],
      \ 'completor': function('asyncomplete#sources#ruby#completor'),
      \ }))

Todo

  • Implementation of startcol to allow suggestions from middle of line