As I'm not any good at vimscript, the implementation is fully borrowed from ncm2-look and the existing Deoplete source. I've been using it for over a week now and it's been working fine so far.
Also I'm not sure that this location is the best for that file autoload/ncm2_tmux_complete.vim. I tried putting that vim file into a subfolder, similar to unite and others, but it wouldn't autoload in that case.
As I'm not any good at vimscript, the implementation is fully borrowed from ncm2-look and the existing Deoplete source. I've been using it for over a week now and it's been working fine so far.
Also I'm not sure that this location is the best for that file
autoload/ncm2_tmux_complete.vim
. I tried putting that vim file into a subfolder, similar tounite
and others, but it wouldn't autoload in that case.