diff --git a/rplugin/python3/deoplete/sources/neosnippet.py b/rplugin/python3/deoplete/sources/neosnippet.py index 8a3c9a6..0b6b278 100644 --- a/rplugin/python3/deoplete/sources/neosnippet.py +++ b/rplugin/python3/deoplete/sources/neosnippet.py @@ -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'], [])