diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-01-23 20:29:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 20:29:45 +0100 |
commit | 444e60ab39ec44a51aa3606f007c9272743df6c9 (patch) | |
tree | d88c76c52258033f3054da9827d5d45951f83708 | |
parent | 3a3e6742f94454161be61b3257167599a5b72cdf (diff) | |
parent | 08f2aa5917221c0367e4d34959334ec8b4fcc54d (diff) | |
download | rneovim-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.txt | 9 |
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 |