Update runtime files.

This commit is contained in:
Bram Moolenaar
2019-11-30 17:57:03 +01:00
parent e219f73ed5
commit 91359014b3
20 changed files with 6572 additions and 125 deletions

View File

@ -1,4 +1,4 @@
*if_pyth.txt* For Vim version 8.1. Last change: 2019 Jul 21
*if_pyth.txt* For Vim version 8.1. Last change: 2019 Nov 29
VIM REFERENCE MANUAL by Paul Moore
@ -767,17 +767,28 @@ match the Python 2.x or Python 3 version Vim was compiled with.
10. Python 3 *python3*
*:py3* *:python3*
The `:py3` and `:python3` commands work similar to `:python`. A simple check
if the `:py3` command is working: >
:py3 print("Hello")
:[range]py3 {stmt}
:[range]py3 << [endmarker]
{script}
{endmarker}
To see what version of Python you have: >
:py3 import sys
:py3 print(sys.version)
:[range]python3 {stmt}
:[range]python3 << [endmarker]
{script}
{endmarker}
The `:py3` and `:python3` commands work similar to `:python`. A
simple check if the `:py3` command is working: >
:py3 print("Hello")
<
To see what version of Python you have: >
:py3 import sys
:py3 print(sys.version)
< *:py3file*
The `:py3file` command works similar to `:pyfile`.
:[range]py3f[ile] {file}
The `:py3file` command works similar to `:pyfile`.
*:py3do*
The `:py3do` command works similar to `:pydo`.
:[range]py3do {body}
The `:py3do` command works similar to `:pydo`.
Vim can be built in four ways (:version output):