Fix #360 neosnippet source
This commit is contained in:
parent
4cdeabfa89
commit
3929abc353
@ -43,6 +43,6 @@ class Source(Base):
|
|||||||
candidate['menu'] = candidate['menu_abbr']
|
candidate['menu'] = candidate['menu_abbr']
|
||||||
|
|
||||||
def gather_candidates(self, context):
|
def gather_candidates(self, context):
|
||||||
if not self.__cache:
|
if context['filetype'] not in self.__cache:
|
||||||
self.on_event(context)
|
self.on_event(context)
|
||||||
return self.__cache.get(context['filetype'], [])
|
return self.__cache.get(context['filetype'], [])
|
||||||
|
Loading…
Reference in New Issue
Block a user