From 08f2aa5917221c0367e4d34959334ec8b4fcc54d Mon Sep 17 00:00:00 2001 From: Patrice Peterson Date: Sat, 23 Jan 2021 19:31:01 +0100 Subject: Doc: Generate API docs for buf_set_extmark gravity Cf. #13679 --- runtime/doc/api.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'runtime') 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 -- cgit