Prabir Shrestha be56e330d8 initial commit
* forked off from https://github.com/maralla/completor.vim
  d475b42c92a000ff9eeb6b4b311eb06f457e71a3
2017-01-10 23:57:25 -08:00
2017-01-10 23:57:25 -08:00
2017-01-10 23:57:25 -08:00
2017-01-10 23:57:25 -08:00
2017-01-10 23:57:25 -08:00

asyncomplete.vim (exprimental)

Provide async autocompletion for vim8 with lambda and timers. This should work in Neovim once lambda support is merged in master. This repository is fork of https://github.com/maralla/completor.vim in pure vim script with python dependency removed.

Do not depend on this repository. This is me trying out async completion in vim so I will be pushing random things that may break

Installing

Plug 'prabirshrestha/asyncomplete.vim'

Example

function! s:js_completor(args)
    call timer_start(2000, {t->a:args.done([{'word': 'class'}, {'word': 'function'}, {'word': 'value'}])})
endfunction

call asyncomplete#register('javascript', ['.', ' '], function('s:js_completor'))

Credits

All the credit goes to https://github.com/maralla/completor.vim

Description
async completion in pure vim script for vim8 and neovim
Readme MIT 497 KiB
Languages
Vim Script 100%