Cant use jedi vim on imported modules

2019-04-14 00:57发布

Lets say I have the next structure

MyProject
|--run.py
|--myclass1.py
|--folder
|  |--myclass2.py 

Im now editing run.py:

from myclass1 import MyClass1
from folder.myclass2 import MyClass2

jedi vim works great on MyClass1, but when I try anything from MyClass2 it just shows the error:

Omni completion (^O^N^P) Pattern not found

How to make it complete things on myclass2?

0条回答
登录 后发表回答