mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(highlight): add force in nvim_set_hl
This commit is contained in:
@@ -1458,6 +1458,8 @@ nvim_set_hl({ns_id}, {name}, {*val}) *nvim_set_hl()*
|
||||
• 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.
|
||||
|
||||
nvim_set_hl_ns({ns_id}) *nvim_set_hl_ns()*
|
||||
Set active namespace for highlights defined with |nvim_set_hl()|. This can
|
||||
|
||||
2
runtime/lua/vim/_meta/api.lua
generated
2
runtime/lua/vim/_meta/api.lua
generated
@@ -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
|
||||
|
||||
1
runtime/lua/vim/_meta/api_keysets.lua
generated
1
runtime/lua/vim/_meta/api_keysets.lua
generated
@@ -164,6 +164,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
|
||||
|
||||
Reference in New Issue
Block a user