Skip to content

Commit

Permalink
Remove deoplete async workaround.
Browse files Browse the repository at this point in the history
As fixed by deoplete.
  • Loading branch information
autozimu committed Mar 9, 2017
1 parent ecd0e52 commit 6862bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rplugin/python3/deoplete/sources/LanguageClientSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def gather_candidates(self, context):
context["is_async"] = False
return []
elif self.__results[contextid] is None: # no response yet
return ["..."]
return []
else: # got result
items = self.__results[contextid]
del self.__results[contextid]
Expand All @@ -71,4 +71,4 @@ def gather_candidates(self, context):
languageId=languageId, line=line, character=character,
cbs=cbs)

return ["..."] # workarond for deoplete, canot be empty
return []

0 comments on commit 6862bf2

Please sign in to comment.