fix(highlight): add force in nvim_set_hl

This commit is contained in:
glepnir
2023-09-18 14:50:27 +08:00
parent 71530cc972
commit f8ea49cfe1
7 changed files with 19 additions and 2 deletions

View File

@@ -1857,6 +1857,8 @@ function vim.api.nvim_set_decoration_provider(ns_id, opts) end
--- • cterm: cterm attribute map, like `highlight-args`. If not
--- set, cterm attributes will match those from the attribute
--- map documented above.
--- • force: if true force update the highlight group when it
--- exists.
function vim.api.nvim_set_hl(ns_id, name, val) end
--- Set active namespace for highlights defined with `nvim_set_hl()`. This can