Skip to content

Commit

Permalink
Merge pull request #13784 from runiq/get_extmark_by_id-limit_break
Browse files Browse the repository at this point in the history
doc: remove nvim_buf_get_extmark_by_id limit opt
  • Loading branch information
vigoux committed Jan 28, 2021
2 parents 9feb47e + fe02c65 commit 8950f4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions runtime/doc/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/nvim/api/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8950f4e

Please sign in to comment.