Mercurial > vim
diff runtime/doc/if_pyth.txt @ 17571:2704c4e3e20a
Update runtime files.
commit https://github.com/vim/vim/commit/5477506a9f01d40fad2e8f0555bc37adee30478f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 31 21:07:14 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Jul 2019 21:15:08 +0200 |
parents | 0e473e9e70c2 |
children | 82a28df1e2d5 |
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.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 @@ 1. Commands *python-commands* 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 @@ 1. Commands *python-commands* 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.