Support rank feature

This commit is contained in:
Shougo Matsushita 2015-08-23 08:23:23 +09:00
parent 88d5efde15
commit 6532ed31ed

View File

@ -32,6 +32,7 @@ class Source(Base):
self.name = 'neosnippet' self.name = 'neosnippet'
self.mark = '[nsnip]' self.mark = '[nsnip]'
self.rank = 200
def gather_candidates(self, context): def gather_candidates(self, context):
return self.vim.eval('values(neosnippet#helpers#get_completion_snippets())') return self.vim.eval('values(neosnippet#helpers#get_completion_snippets())')