aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-01-23 20:29:45 +0100
committerGitHub <noreply@github.com>2021-01-23 20:29:45 +0100
commit444e60ab39ec44a51aa3606f007c9272743df6c9 (patch)
treed88c76c52258033f3054da9827d5d45951f83708
parent3a3e6742f94454161be61b3257167599a5b72cdf (diff)
parent08f2aa5917221c0367e4d34959334ec8b4fcc54d (diff)
downloadrneovim-444e60ab39ec44a51aa3606f007c9272743df6c9.tar.gz
rneovim-444e60ab39ec44a51aa3606f007c9272743df6c9.tar.bz2
rneovim-444e60ab39ec44a51aa3606f007c9272743df6c9.zip
Merge pull request #13819 from runiq/extmark_gravity_docs
Doc: Generate API docs for buf_set_extmark gravity
-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