completor.vim icon indicating copy to clipboard operation
completor.vim copied to clipboard

Vim Flow Support

Open amadeus opened this issue 7 years ago • 1 comments

Is there any way to get vim-flow support in completor? Currently for JS you list only Tern, but it would be really fantastic if there was a way to get the flow support working.

It works well if use <c-x><c-o>, so it would be nice if I could have it auto fill in completor.

They automatically update the omnicomplete stuff https://github.com/flowtype/vim-flow#gflowomnifunc

amadeus avatar May 12 '17 19:05 amadeus

I had initially investigated on using vim-flow for asyncomplete.vim but didn't use it since internally it is sync and uses system instead of job apis. Even though it is possible to use vim-flow, you wouldn't have advantage of async in this case.

You would need to implement your own but should be fairly simple. Here is one that is implemented for asyncomplete. https://github.com/prabirshrestha/asyncomplete-flow.vim

prabirshrestha avatar May 12 '17 21:05 prabirshrestha