/asyncomplete-nextword.vim

Provides intelligent English autocomplete for asyncomplete.vim via nextword

Primary LanguageVim scriptMIT LicenseMIT

asyncomplete-nextword.vim

Provides intelligent English autocomplete for asyncomplete.vim via nextword.

Screenshot

screenshot.gif

Installing

Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/async.vim'
Plug 'high-moctane/asyncomplete-nextword.vim'

You also need to install Nextword and Nextword-data.

Registration

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.

Contributors

License

MIT