Mercurial > vim
diff runtime/doc/if_pyth.txt @ 27903:d19b7aee1925
Update runtime files.
Commit: https://github.com/vim/vim/commit/c51cf0329809c7ae946c59d6f56699227efc9d1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 26 12:25:45 2022 +0000
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Feb 2022 13:30:04 +0100 |
parents | 179c118424a6 |
children | dc4de65a7fb7 |
line wrap: on
line diff
--- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 8.2. Last change: 2022 Feb 07 +*if_pyth.txt* For Vim version 8.2. Last change: 2022 Feb 22 VIM REFERENCE MANUAL by Paul Moore @@ -25,6 +25,10 @@ The Python 3 interface is available only |+python3| feature. Both can be available at the same time, but read |python-2-and-3|. +NOTE: Python 2 is old and no longer being developed. Using Python 3 is highly +recommended. Python 2 support will be dropped when it does not work properly +anymore. + ============================================================================== 1. Commands *python-commands* @@ -923,7 +927,7 @@ The `:pyxdo` command works similar to `: *has-pythonx* You can test if pyx* commands are available with: > if has('pythonx') - echo 'pyx* commands are available. (Python ' . &pyx . ')' + echo 'pyx* commands are available. (Python ' .. &pyx .. ')' endif When compiled with only one of |+python| or |+python3|, the has() returns 1.