Provide ruby completions for asyncomplete.vim
Distionary source thanks to fishbullet/deoplete-ruby
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'akemrir/asyncomplete-ruby.vim'
call asyncomplete#register_source(asyncomplete#sources#ruby#get_source_options({
\ 'name': 'ruby',
\ 'priority': 1,
\ 'whitelist': ['ruby'],
\ 'completor': function('asyncomplete#sources#ruby#completor'),
\ }))
- Implementation of startcol to allow suggestions from middle of line