aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorPatrice Peterson <patrice.peterson@mailbox.org>2021-01-18 13:32:07 +0100
committerPatrice Peterson <patrice.peterson@mailbox.org>2021-01-18 13:34:08 +0100
commitfe02c653959bc73440622c3324db22084475302a (patch)
treec371260e719bf32d656bec3141e4f58028928937 /src/nvim/api/buffer.c
parent1a4d380b5abfff2cf5e46a1b00e98f4381b7e5b0 (diff)
downloadrneovim-fe02c653959bc73440622c3324db22084475302a.tar.gz
rneovim-fe02c653959bc73440622c3324db22084475302a.tar.bz2
rneovim-fe02c653959bc73440622c3324db22084475302a.zip
doc: remove nvim_buf_get_extmark_by_id limit opt
Passing any key but `details` in the opts results in an error.
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r--src/nvim/api/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 8d82d22040..d68c144f4f 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -1200,8 +1200,7 @@ static Array extmark_to_array(ExtmarkInfo extmark, bool id, bool add_dict)
/// @param ns_id Namespace id from |nvim_create_namespace()|
/// @param id Extmark id
/// @param opts Optional parameters. Keys:
-/// - limit: Maximum number of marks to return
-/// - details Whether to include the details dict
+/// - details: Whether to include the details dict
/// @param[out] err Error details, if any
/// @return (row, col) tuple or empty list () if extmark id was absent
ArrayOf(Integer) nvim_buf_get_extmark_by_id(Buffer buffer, Integer ns_id,