aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2021-04-06 14:22:33 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2021-04-07 15:36:46 +0200
commitd7a1bbd81aac00097558c8edfc040405fb2ca795 (patch)
treeaafe1f23e3730e93e4fd827982a577ed915d89a1 /src/nvim/api/buffer.c
parent91cdc11984465287539ed8f63716bb371f440ea1 (diff)
downloadrneovim-d7a1bbd81aac00097558c8edfc040405fb2ca795.tar.gz
rneovim-d7a1bbd81aac00097558c8edfc040405fb2ca795.tar.bz2
rneovim-d7a1bbd81aac00097558c8edfc040405fb2ca795.zip
docs: add priority option in buf_set_extmark
Diffstat (limited to 'src/nvim/api/buffer.c')
-rw-r--r--src/nvim/api/buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c
index 6142db049d..c55dc39605 100644
--- a/src/nvim/api/buffer.c
+++ b/src/nvim/api/buffer.c
@@ -1449,6 +1449,8 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id,
/// the extmark end position (if it exists) will be shifted
/// in when new text is inserted (true for right, false
/// for left). Defaults to false.
+/// - priority: a priority value for the highlight group. For
+/// example treesitter highlighting uses a value of 100.
/// @param[out] err Error details, if any
/// @return Id of the created/updated extmark
Integer nvim_buf_set_extmark(Buffer buffer, Integer ns_id,