forked from VimPlug/jedi
fix import formatting in description for davidhalter/jedi-vim#42
This commit is contained in:
@@ -156,7 +156,7 @@ class Completion(BaseOutput):
|
||||
if parent is None:
|
||||
return ''
|
||||
t = self.type
|
||||
if t == 'Statement':
|
||||
if t == 'Statement' or t == 'Import':
|
||||
desc = self.definition.get_code(False)
|
||||
else:
|
||||
desc = '.'.join(str(p) for p in self.path)
|
||||
|
||||
Reference in New Issue
Block a user