aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-01 19:12:13 -0700
committerGitHub <noreply@github.com>2019-09-01 19:12:13 -0700
commitb10d703213da5699a176c7791a51a322f248dbd2 (patch)
tree72a8132da5e844284b9bc9e2947e9518e01f7395 /runtime
parent938be1e0ab1c3772f329f39225e651deb1cd6aca (diff)
parent8560bafc6cf7cfd301c1389a9e2562aeec592294 (diff)
downloadrneovim-b10d703213da5699a176c7791a51a322f248dbd2.tar.gz
rneovim-b10d703213da5699a176c7791a51a322f248dbd2.tar.bz2
rneovim-b10d703213da5699a176c7791a51a322f248dbd2.zip
Merge #10896 'paste: one undo-block'
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt7
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.