Fix #360 neosnippet source

This commit is contained in:
Shougo Matsushita 2016-12-02 08:13:50 +09:00
parent 4cdeabfa89
commit 3929abc353

View File

@ -43,6 +43,6 @@ class Source(Base):
candidate['menu'] = candidate['menu_abbr']
def gather_candidates(self, context):
if not self.__cache:
if context['filetype'] not in self.__cache:
self.on_event(context)
return self.__cache.get(context['filetype'], [])