diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2022-01-28 15:42:19 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2022-01-29 19:49:37 +0100 |
commit | baec0d3152afeab3007ebb505f3fc274511db434 (patch) | |
tree | 7a6401825cf208ba9aaa21cbe053effd71077a0e /src/nvim/testdir | |
parent | b2f77c354a289ac99de4c28425dc39d7d057cf90 (diff) | |
download | rneovim-baec0d3152afeab3007ebb505f3fc274511db434.tar.gz rneovim-baec0d3152afeab3007ebb505f3fc274511db434.tar.bz2 rneovim-baec0d3152afeab3007ebb505f3fc274511db434.zip |
feat(provider)!: remove support for python2 and python3.[3-5]
These versions of python has reached End-of-life. getting rid
of python2 support removes a lot of logic to support two
incompatible python versions in the same version.
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_python3.vim | 1 | ||||
-rw-r--r-- | src/nvim/testdir/test_pyx2.vim | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_python3.vim b/src/nvim/testdir/test_python3.vim index 54da3d2eba..f6a1942e24 100644 --- a/src/nvim/testdir/test_python3.vim +++ b/src/nvim/testdir/test_python3.vim @@ -69,6 +69,7 @@ func Test_vim_function() endfunc func Test_skipped_python3_command_does_not_affect_pyxversion() + throw 'skipped: Nvim hardcodes pyxversion=3' set pyxversion=0 if 0 python3 import vim diff --git a/src/nvim/testdir/test_pyx2.vim b/src/nvim/testdir/test_pyx2.vim index b6ed80f842..6a8ebf3da0 100644 --- a/src/nvim/testdir/test_pyx2.vim +++ b/src/nvim/testdir/test_pyx2.vim @@ -1,9 +1,9 @@ " Test for pyx* commands and functions with Python 2. -set pyx=2 if !has('python') finish endif +set pyx=2 let s:py2pattern = '^2\.[0-7]\.\d\+' let s:py3pattern = '^3\.\d\+\.\d\+' |