diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-26 14:20:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 14:20:10 +0200 |
commit | fe95037cdb9b0294ca24dbd0ff82c8462d051307 (patch) | |
tree | ab7ad7fced1d29b5037bacc667bbaed6ece9b272 /runtime/lua/vim/_meta/api.lua | |
parent | 4db77017fb7ab9321817674a5f5533df4cd03f3f (diff) | |
parent | f8ea49cfe1f4f3ed30da160d346553f0949ec1de (diff) | |
download | rneovim-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 'runtime/lua/vim/_meta/api.lua')
-rw-r--r-- | runtime/lua/vim/_meta/api.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua index 5c51fbd146..68ef54eb2f 100644 --- a/runtime/lua/vim/_meta/api.lua +++ b/runtime/lua/vim/_meta/api.lua @@ -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 |