Doc: Generate API docs for buf_set_extmark gravity

Cf. #13679
This commit is contained in:
Patrice Peterson 2021-01-23 19:31:01 +01:00
parent 3a3e6742f9
commit 08f2aa5917

View File

@ -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