aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2020-10-08 11:52:17 +0200
committerGitHub <noreply@github.com>2020-10-08 11:52:17 +0200
commitca6815115c79da62b845f479f0cdd765bdbfb700 (patch)
tree5d68f7a0ff903025548b7e4c4bab759745432d48
parent3ea5df0f045b416c827e8fa841d01333fa0146e6 (diff)
downloadrneovim-ca6815115c79da62b845f479f0cdd765bdbfb700.tar.gz
rneovim-ca6815115c79da62b845f479f0cdd765bdbfb700.tar.bz2
rneovim-ca6815115c79da62b845f479f0cdd765bdbfb700.zip
provider: update supported Python versions (#13070)
Python 3.9 was released, so we need to add support for the upcoming Python 3.10. Python 3.5 and earlier reached their end-of-life. PEP 478: Python 3.5 Release Schedule: https://www.python.org/dev/peps/pep-0478 PEP 596: Python 3.9 Release Schedule: https://www.python.org/dev/peps/pep-0596 PEP 619: Python 3.10 Release Schedule: https://www.python.org/dev/peps/pep-0619
-rw-r--r--runtime/autoload/provider/pythonx.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/provider/pythonx.vim b/runtime/autoload/provider/pythonx.vim
index e89d519790..550931d8aa 100644
--- a/runtime/autoload/provider/pythonx.vim
+++ b/runtime/autoload/provider/pythonx.vim
@@ -29,8 +29,8 @@ endfunction
function! s:get_python_candidates(major_version) abort
return {
\ 2: ['python2', 'python2.7', 'python2.6', 'python'],
- \ 3: ['python3', 'python3.9', 'python3.8', 'python3.7', 'python3.6', 'python3.5',
- \ 'python3.4', 'python3.3', 'python']
+ \ 3: ['python3', 'python3.10', 'python3.9', 'python3.8', 'python3.7',
+ \ 'python3.6', 'python']
\ }[a:major_version]
endfunction