1
0
forked from VimPlug/jedi

Temporarily disable on import completion. Not sure if we're going to do it with the normal parser.

This commit is contained in:
Dave Halter
2014-11-19 13:24:45 +01:00
parent c71646a9a0
commit bb9d6b4832
4 changed files with 12 additions and 5 deletions

View File

@@ -226,9 +226,12 @@ class Script(object):
current_line = self._user_context.get_position_line()
if not current_line.endswith('import import'):
continue
"""
a = s.import_stmt.alias
if a and a.start_pos <= self._pos <= a.end_pos:
continue
"""
# TODO what to do with this?
names = s.get_defined_names(on_import_stmt=True)
else:
names = []