Permalink
Browse files

Fix #360 neosnippet source

  • Loading branch information...
1 parent 4cdeabf commit 3929abc3538db6e1b5958acc5f07cdad4345f86d @Shougo committed Dec 1, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 rplugin/python3/deoplete/sources/neosnippet.py
@@ -43,6 +43,6 @@ def on_event(self, context):
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'], [])

0 comments on commit 3929abc

Please sign in to comment.