provider: has("python3_dynamic") et al. #10980

Vim added more flags for testing yet more dimensions of its Python
situation.  Handle those in eval_has_provider().

vim-patch:8.0.1436: not enough information about what Python version may work
Problem:    Not enough information about what Python version may work.
Solution:   Add "python_compiled", "python3_compiled", "python_dynamic" and
            "python3_dynamic" values for has().

ref: https://github.com/neovim/neovim/pull/10942#issuecomment-529479500
This commit is contained in:
Justin M. Keyes
2019-09-09 10:54:07 -07:00
committed by GitHub
parent 225941ddd0
commit 853683e72a
3 changed files with 25 additions and 11 deletions

View File

@@ -29,6 +29,10 @@ describe('python3 provider', function()
it('feature test', function()
eq(1, eval('has("python3")'))
eq(1, eval('has("python3_compiled")'))
eq(1, eval('has("python3_dynamic")'))
eq(0, eval('has("python3_dynamic_")'))
eq(0, eval('has("python3_")'))
end)
it('python3_execute', function()