Merge pull request #25229 from glepnir/20323

fix(highlight): add force in nvim_set_hl
This commit is contained in:
bfredl
2023-09-26 14:20:10 +02:00
committed by GitHub
7 changed files with 19 additions and 2 deletions

View File

@@ -1866,6 +1866,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

View File

@@ -165,6 +165,7 @@ error('Cannot require a meta file')
--- @field blend? integer
--- @field fg_indexed? boolean
--- @field bg_indexed? boolean
--- @field force? boolean
--- @class vim.api.keyset.highlight_cterm
--- @field bold? boolean