wellle / tmux-complete.vim

Vim plugin for insert mode completion of words in adjacent tmux panes
MIT License
515 stars 21 forks source link

84 Add async support for coc.nvim #86

Closed wellle closed 5 years ago

wellle commented 5 years ago

As reported in https://github.com/wellle/tmux-complete.vim/pull/84#issuecomment-489365681, the coc.nvim integration could block Vim/Neovim if gathering the candidates takes a long time.

This PR uses the respective Vim/Neovim functions to start asynchronous jobs instead.

Tested locally with Neovim 0.3.5 and Vim 8.1.1200.