Provides intelligent English autocomplete for asyncomplete.vim via nextword.
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/async.vim'
Plug 'high-moctane/asyncomplete-nextword.vim'
You also need to install Nextword and Nextword-data.
call asyncomplete#register_source(asyncomplete#sources#nextword#get_source_options({
\ 'name': 'nextword',
\ 'allowlist': ['*'],
\ 'args': ['-n', '10000'],
\ 'completor': function('asyncomplete#sources#nextword#completor')
\ }))
Note: args
is optional. it will be passed as the nextword
arguments.
- high-moctane (https://github.com/high-moctane)
- Rafael Bodill (https://github.com/rafi)
MIT