diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-31 12:44:42 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-09-02 02:27:13 +0200 |
commit | 976c6667e140fe4dfe2731451b25c4a1309ad165 (patch) | |
tree | cd472c2334bcffcc83861d1ebbc878ea9efccdb7 /runtime | |
parent | 801fe799ff359cdae66ed14f5e0b7c2c4cec9536 (diff) | |
download | rneovim-976c6667e140fe4dfe2731451b25c4a1309ad165.tar.gz rneovim-976c6667e140fe4dfe2731451b25c4a1309ad165.tar.bz2 rneovim-976c6667e140fe4dfe2731451b25c4a1309ad165.zip |
paste: one undo-block per stream
- All "chunks" in a paste-stream should form a single undo-block. Side
effect of 7a8579288424 was to create an undo-block for each chunk.
- Also: remove old :redraw force logic, irrelevant after 7a8579288424.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/api.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 710ab0cf33..1af327e572 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -829,11 +829,12 @@ nvim_put({lines}, {type}, {after}, {follow}) *nvim_put()* Parameters: ~ {lines} |readfile()|-style list of lines. |channel-lines| - {type} Edit behavior: - • "b" |blockwise-visual| mode + {type} Edit behavior: any |getregtype()| result, or: + • "b" |blockwise-visual| mode (may include + width, e.g. "b3") • "c" |characterwise| mode • "l" |linewise| mode - • "" guess by contents + • "" guess by contents, see |setreg()| {after} Insert after cursor (like |p|), or before (like |P|). {follow} Place cursor at end of inserted text. |