forked from VimPlug/jedi-vim
Move the vim import to top.
This commit is contained in:
@@ -15,6 +15,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
from itertools import izip_longest as zip_longest # Python 2
|
from itertools import izip_longest as zip_longest # Python 2
|
||||||
|
|
||||||
|
import vim
|
||||||
|
|
||||||
is_py3 = sys.version_info[0] >= 3
|
is_py3 = sys.version_info[0] >= 3
|
||||||
if is_py3:
|
if is_py3:
|
||||||
@@ -90,7 +91,6 @@ def echo_highlight(msg):
|
|||||||
msg.replace('"', '\\"')))
|
msg.replace('"', '\\"')))
|
||||||
|
|
||||||
|
|
||||||
import vim
|
|
||||||
try:
|
try:
|
||||||
import jedi
|
import jedi
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user