You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with mta, vim hangs on opening remote files. after playing with the script, I found that in the autoload script, python module search path is first appended with mta/python folder. exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]'
in my case, however, sys.path contains some invalid path originally constructed from the remote path (not sure what did this). and the next 'python import' command becomes very slow. my guess is that python has to go through all the paths in front before looking at the one just added to locate mta_vim and somehow the remote looking invalid path blocks everything.
anyway, I worked around this problem by inserting mta/python in the front to make sure mta_vim is found before python touches the invalid path in sys.path.
The text was updated successfully, but these errors were encountered:
with mta, vim hangs on opening remote files. after playing with the script, I found that in the autoload script, python module search path is first appended with mta/python folder.
exe 'python sys.path = sys.path + ["' . s:script_folder_path . '/../python"]'
in my case, however,
sys.path
contains some invalid path originally constructed from the remote path (not sure what did this). and the next 'python import' command becomes very slow. my guess is that python has to go through all the paths in front before looking at the one just added to locate mta_vim and somehow the remote looking invalid path blocks everything.anyway, I worked around this problem by inserting mta/python in the front to make sure mta_vim is found before python touches the invalid path in
sys.path
.The text was updated successfully, but these errors were encountered: