aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-26 14:20:10 +0200
committerGitHub <noreply@github.com>2023-09-26 14:20:10 +0200
commitfe95037cdb9b0294ca24dbd0ff82c8462d051307 (patch)
treeab7ad7fced1d29b5037bacc667bbaed6ece9b272 /src/nvim/api/vim.c
parent4db77017fb7ab9321817674a5f5533df4cd03f3f (diff)
parentf8ea49cfe1f4f3ed30da160d346553f0949ec1de (diff)
downloadrneovim-fe95037cdb9b0294ca24dbd0ff82c8462d051307.tar.gz
rneovim-fe95037cdb9b0294ca24dbd0ff82c8462d051307.tar.bz2
rneovim-fe95037cdb9b0294ca24dbd0ff82c8462d051307.zip
Merge pull request #25229 from glepnir/20323
fix(highlight): add force in nvim_set_hl
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 78396edef5..00641c633d 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -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