1
0
forked from VimPlug/jedi

More test fixes.

This commit is contained in:
Dave Halter
2016-05-31 01:12:07 +02:00
parent c12dbe0b9e
commit ad8d730a57
6 changed files with 27 additions and 17 deletions

View File

@@ -136,7 +136,7 @@ class Completion:
try:
stack = helpers.get_stack_at_position(grammar, self._source, self._module, pos)
except helpers.OnErrorLeaf:
return []
return self._simple_complete(completion_parts)
allowed_keywords, allowed_tokens = \
helpers.get_possible_completion_types(grammar, stack)