Add deoplete.nvim integration

This commit is contained in:
Christian Wellenbrock
2016-02-07 23:12:55 +01:00
parent f97e4e1ce9
commit 6771d07648
4 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
from .base import Base
import deoplete.util
class Source(Base):
def __init__(self, vim):
Base.__init__(self, vim)
self.name = 'tmux-complete'
self.kind = 'keyword'
self.mark = '[tmux]'
self.rank = 4
def gather_candidates(self, context):
return [{ 'word': x } for x in
self.vim.call('tmuxcomplete#gather_candidates')]