aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-01-28 18:27:24 +0100
committerGitHub <noreply@github.com>2021-01-28 18:27:24 +0100
commit8950f4e94af1534852cab5f41066d7c21330bd64 (patch)
tree1507ec8701ee40dfbd78b7261d3be534eaca6f71
parent9feb47ec4bbcaaf37abb1bc0fd2b831be367005e (diff)
parentfe02c653959bc73440622c3324db22084475302a (diff)
downloadrneovim-8950f4e94af1534852cab5f41066d7c21330bd64.tar.gz
rneovim-8950f4e94af1534852cab5f41066d7c21330bd64.tar.bz2
rneovim-8950f4e94af1534852cab5f41066d7c21330bd64.zip
Merge pull request #13784 from runiq/get_extmark_by_id-limit_break
doc: remove nvim_buf_get_extmark_by_id limit opt
-rw-r--r--runtime/doc/api.txt3
-rw-r--r--src/nvim/api/buffer.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 717a7caadf..dd3469372e 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1948,8 +1948,7 @@ nvim_buf_get_extmark_by_id({buffer}, {ns_id}, {id}, {opts})
{ns_id} Namespace id from |nvim_create_namespace()|
{id} Extmark id
{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
Return: ~
(row, col) tuple or empty list () if extmark id was absent
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 2890d89bc0..67f4f92bf6 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,