Fix deoplete source

This commit is contained in:
Shougo Matsushita 2015-06-21 16:47:07 +09:00
parent 3cfe8368cf
commit 2dc82874df
1 changed files with 0 additions and 7 deletions

View File

@ -32,13 +32,6 @@ class Source(Base):
self.mark = '[nsnip]'
def get_complete_position(self, vim, context):
m = re.search(context.input, r'[a-zA-Z_][a-zA-Z0-9_]')
if m:
return m.start()
else:
return -1
def gather_candidates(self, vim, context):
return vim.eval("values(neosnippet#helpers#get_snippets())")