docs: add priority option in buf_set_extmark

This commit is contained in:
Thomas Vigouroux
2021-04-06 14:22:33 +02:00
parent 91cdc11984
commit d7a1bbd81a
3 changed files with 62 additions and 3 deletions

View File

@@ -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,