forked from luna/vim-rana-local
Support Python versions up to 3.9
This commit is contained in:
parent
353e78e0d5
commit
068496b66b
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ let s:VERSION = '7.1.0'
|
||||||
if !filereadable(python_bin)
|
if !filereadable(python_bin)
|
||||||
let paths = ['python3']
|
let paths = ['python3']
|
||||||
if s:IsWindows()
|
if s:IsWindows()
|
||||||
let pyver = 50
|
let pyver = 39
|
||||||
while pyver >= 26
|
while pyver >= 26
|
||||||
let paths = paths + [printf('/Python%d/pythonw', pyver), printf('/python%d/pythonw', pyver), printf('/Python%d/python', pyver), printf('/python%d/python', pyver)]
|
let paths = paths + [printf('/Python%d/pythonw', pyver), printf('/python%d/pythonw', pyver), printf('/Python%d/python', pyver), printf('/python%d/python', pyver)]
|
||||||
let pyver = pyver - 1
|
let pyver = pyver - 1
|
||||||
|
|
Loading…
Reference in a new issue