Fix deoplete source

This commit is contained in:
Shougo Matsushita 2015-06-21 16:47:07 +09:00
parent 3cfe8368cf
commit 2dc82874df

View File

@ -32,13 +32,6 @@ class Source(Base):
self.mark = '[nsnip]' 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): def gather_candidates(self, vim, context):
return vim.eval("values(neosnippet#helpers#get_snippets())") return vim.eval("values(neosnippet#helpers#get_snippets())")