diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2021-12-08 08:44:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 08:44:48 -0700 |
commit | cf32053d6005bb13c41434dea7127713ad46346a (patch) | |
tree | 49d4d786334c837791ab6a247caee211bf0b2b48 /runtime | |
parent | 5abd7c2c1487976f538ce510b06497fffd7e5252 (diff) | |
download | rneovim-cf32053d6005bb13c41434dea7127713ad46346a.tar.gz rneovim-cf32053d6005bb13c41434dea7127713ad46346a.tar.bz2 rneovim-cf32053d6005bb13c41434dea7127713ad46346a.zip |
fix(api): allow nvim_buf_set_extmark to accept end_row key (#16548)
nvim_buf_get_extmark uses "end_row" rather than "end_line" in its
'details' dict, which means callers must modify the key names if they
want to re-use the information. Change the parameter name in
nvim_buf_set_extmark to "end_row" and use "end_line" as an alias
to make this more consistent.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 482d8c198d..d2d010882e 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -2353,7 +2353,7 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts}) |api-indexing| {opts} Optional parameters. • id : id of the extmark to edit. - • end_line : ending line of the mark, 0-based + • end_row : ending line of the mark, 0-based inclusive. • end_col : ending col of the mark, 0-based exclusive. |