adjust jedi vim to python2 and python3

let py_version = system('python -V 2>&1 | grep -Po  " (?<=Python )[2|3] "  ' )
if py_version == 2
    python pass
elseif py_version == 3
    python3 pass
else
    python pass
endif

posted @ 2018-09-13 11:30  idlewith  阅读(183)  评论(0编辑  收藏  举报