diff options
author | Javier López <graulopezjavier@gmail.com> | 2021-08-08 16:17:23 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2021-09-10 18:31:11 -0700 |
commit | f8e406ed304dc4e71ab3db71a27cd10d12817ee5 (patch) | |
tree | 09ef639623a237180ee6f509803fd25bc114da14 /src | |
parent | 9b553ad28df74f0a0c5f20a96ab1248c8724b1c1 (diff) | |
download | rneovim-f8e406ed304dc4e71ab3db71a27cd10d12817ee5.tar.gz rneovim-f8e406ed304dc4e71ab3db71a27cd10d12817ee5.tar.bz2 rneovim-f8e406ed304dc4e71ab3db71a27cd10d12817ee5.zip |
docs: extmarks indexing #15311
fix #11456
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/api/buffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 3260c083b8..3808f601d9 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -1232,7 +1232,7 @@ static Array extmark_to_array(ExtmarkInfo extmark, bool id, bool add_dict) return rv; } -/// Gets the position (0-indexed) of an extmark {id}. +/// Gets the position (0-indexed) of an extmark. /// /// @param buffer Buffer handle, or 0 for current buffer /// @param ns_id Namespace id from |nvim_create_namespace()| @@ -1321,10 +1321,10 @@ ArrayOf(Integer) nvim_buf_get_extmark_by_id(Buffer buffer, Integer ns_id, /// /// @param buffer Buffer handle, or 0 for current buffer /// @param ns_id Namespace id from |nvim_create_namespace()| -/// @param start Start of range, given as 0-indexed (row, col) or valid -/// extmark id (whose position defines the bound) -/// @param end End of range (inclusive), given as 0-indexed (row, col) or -/// valid extmark id (whose position defines the bound) +/// @param start Start of range: a 0-indexed (row, col) or valid extmark id +/// (whose position defines the bound). |api-indexing| +/// @param end End of range (inclusive): a 0-indexed (row, col) or valid +/// extmark id (whose position defines the bound). |api-indexing| /// @param opts Optional parameters. Keys: /// - limit: Maximum number of marks to return /// - details Whether to include the details dict |