diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-31 21:07:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-31 21:07:14 +0200 |
commit | 5477506a9f01d40fad2e8f0555bc37adee30478f (patch) | |
tree | afb8271b63c5813ea4f2dee83df994f33791fed5 /runtime/doc/if_pyth.txt | |
parent | 0e6bfb9b2eb108d96a49ac4f8dc638c2eefeda2b (diff) | |
download | vim-git-5477506a9f01d40fad2e8f0555bc37adee30478f.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/doc/if_pyth.txt')
-rw-r--r-- | runtime/doc/if_pyth.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/doc/if_pyth.txt b/runtime/doc/if_pyth.txt index 9e2d3017c..4f04199d5 100644 --- a/runtime/doc/if_pyth.txt +++ b/runtime/doc/if_pyth.txt @@ -1,4 +1,4 @@ -*if_pyth.txt* For Vim version 8.1. Last change: 2019 May 04 +*if_pyth.txt* For Vim version 8.1. Last change: 2019 Jul 21 VIM REFERENCE MANUAL by Paul Moore @@ -34,7 +34,7 @@ Both can be available at the same time, but read |python-2-and-3|. the `:python` command is working: > :python print "Hello" -:[range]py[thon] << {endmarker} +:[range]py[thon] << [endmarker] {script} {endmarker} Execute Python script {script}. @@ -42,9 +42,11 @@ Both can be available at the same time, but read |python-2-and-3|. feature wasn't compiled in. To avoid errors, see |script-here|. -{endmarker} must NOT be preceded by any white space. If {endmarker} is -omitted from after the "<<", a dot '.' must be used after {script}, like -for the |:append| and |:insert| commands. +The {endmarker} below the {script} must NOT be preceded by any white space. + +If [endmarker] is omitted from after the "<<", a dot '.' must be used after +{script}, like for the |:append| and |:insert| commands. + This form of the |:python| command is mainly useful for including python code in Vim scripts. |