aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2023-09-18 14:50:27 +0800
committerglepnir <glephunter@gmail.com>2023-09-26 19:41:23 +0800
commitf8ea49cfe1f4f3ed30da160d346553f0949ec1de (patch)
treef6ce262e040b6bdd5f47ae9e3a470933f546f324 /src/nvim/api/vim.c
parent71530cc972576e6656431b6d000aec9b69a0997e (diff)
downloadrneovim-f8ea49cfe1f4f3ed30da160d346553f0949ec1de.tar.gz
rneovim-f8ea49cfe1f4f3ed30da160d346553f0949ec1de.tar.bz2
rneovim-f8ea49cfe1f4f3ed30da160d346553f0949ec1de.zip
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 916409b973..9d08e9b6c7 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