aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Peterson <patrice.peterson@mailbox.org>2021-01-23 19:31:01 +0100
committerPatrice Peterson <patrice.peterson@mailbox.org>2021-01-23 19:32:18 +0100
commit08f2aa5917221c0367e4d34959334ec8b4fcc54d (patch)
treed88c76c52258033f3054da9827d5d45951f83708
parent3a3e6742f94454161be61b3257167599a5b72cdf (diff)
downloadrneovim-08f2aa5917221c0367e4d34959334ec8b4fcc54d.tar.gz
rneovim-08f2aa5917221c0367e4d34959334ec8b4fcc54d.tar.bz2
rneovim-08f2aa5917221c0367e4d34959334ec8b4fcc54d.zip
Doc: Generate API docs for buf_set_extmark gravity
Cf. #13679
-rw-r--r--runtime/doc/api.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index a810bef8f6..717a7caadf 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -2164,6 +2164,15 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {opts})
mark will only be used for the current redraw
cycle, and not be permantently stored in the
buffer.
+ • right_gravity : boolean that indicates the
+ direction the extmark will be shifted in when
+ new text is inserted (true for right, false
+ for left). defaults to true.
+ • end_right_gravity : boolean that indicates the
+ direction the extmark end position (if it
+ exists) will be shifted in when new text is
+ inserted (true for right, false for left).
+ Defaults to false.
Return: ~
Id of the created/updated extmark