mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
Merge pull request #14510 from urandom/doc_nvim_buf_set_extmark
Minor observational corrections to the nvim_buf_set_extmark documentation
This commit is contained in:
@@ -2274,14 +2274,14 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {opts})
|
|||||||
Parameters: ~
|
Parameters: ~
|
||||||
{buffer} Buffer handle, or 0 for current buffer
|
{buffer} Buffer handle, or 0 for current buffer
|
||||||
{ns_id} Namespace id from |nvim_create_namespace()|
|
{ns_id} Namespace id from |nvim_create_namespace()|
|
||||||
{line} Line number where to place the mark
|
{line} Line where to place the mark, 0-based
|
||||||
{col} Column where to place the mark
|
{col} Column where to place the mark, 0-based
|
||||||
{opts} Optional parameters.
|
{opts} Optional parameters.
|
||||||
• id : id of the extmark to edit.
|
• id : id of the extmark to edit.
|
||||||
• end_line : ending line of the mark, 0-based
|
• end_line : ending line of the mark, 0-based
|
||||||
inclusive.
|
inclusive.
|
||||||
• end_col : ending col of the mark, 0-based
|
• end_col : ending col of the mark, 0-based
|
||||||
inclusive.
|
exclusive.
|
||||||
• hl_group : name of the highlight group used to
|
• hl_group : name of the highlight group used to
|
||||||
highlight this mark.
|
highlight this mark.
|
||||||
• virt_text : virtual text to link to this mark.
|
• virt_text : virtual text to link to this mark.
|
||||||
|
@@ -1424,12 +1424,12 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id,
|
|||||||
///
|
///
|
||||||
/// @param buffer Buffer handle, or 0 for current buffer
|
/// @param buffer Buffer handle, or 0 for current buffer
|
||||||
/// @param ns_id Namespace id from |nvim_create_namespace()|
|
/// @param ns_id Namespace id from |nvim_create_namespace()|
|
||||||
/// @param line Line number where to place the mark
|
/// @param line Line where to place the mark, 0-based
|
||||||
/// @param col Column where to place the mark
|
/// @param col Column where to place the mark, 0-based
|
||||||
/// @param opts Optional parameters.
|
/// @param opts Optional parameters.
|
||||||
/// - id : id of the extmark to edit.
|
/// - id : id of the extmark to edit.
|
||||||
/// - end_line : ending line of the mark, 0-based inclusive.
|
/// - end_line : ending line of the mark, 0-based inclusive.
|
||||||
/// - end_col : ending col of the mark, 0-based inclusive.
|
/// - end_col : ending col of the mark, 0-based exclusive.
|
||||||
/// - hl_group : name of the highlight group used to highlight
|
/// - hl_group : name of the highlight group used to highlight
|
||||||
/// this mark.
|
/// this mark.
|
||||||
/// - virt_text : virtual text to link to this mark.
|
/// - virt_text : virtual text to link to this mark.
|
||||||
|
Reference in New Issue
Block a user