mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 10:18:18 +00:00
Merge pull request #25229 from glepnir/20323
fix(highlight): add force in nvim_set_hl
This commit is contained in:
@@ -169,6 +169,7 @@ typedef struct {
|
||||
Integer blend;
|
||||
Boolean fg_indexed;
|
||||
Boolean bg_indexed;
|
||||
Boolean force;
|
||||
} Dict(highlight);
|
||||
|
||||
typedef struct {
|
||||
|
@@ -151,6 +151,7 @@ Dictionary nvim_get_hl(Integer ns_id, Dict(get_highlight) *opts, Arena *arena, E
|
||||
/// - 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.
|
||||
/// @param[out] err Error details, if any
|
||||
///
|
||||
// TODO(bfredl): val should take update vs reset flag
|
||||
|
Reference in New Issue
Block a user