diff options
author | glepnir <glephunter@gmail.com> | 2023-09-07 18:42:38 +0800 |
---|---|---|
committer | glepnir <glephunter@gmail.com> | 2023-09-09 17:15:58 +0800 |
commit | 8afb3a49c0762eb60368aee0314e6de261daa6ef (patch) | |
tree | bc954a00873a049f5a3a93cd532f3185d2f8cc38 /src/nvim/api/vim.c | |
parent | 82150ca51bf396e5795b49f6e1cb2faaaa07b28b (diff) | |
download | rneovim-8afb3a49c0762eb60368aee0314e6de261daa6ef.tar.gz rneovim-8afb3a49c0762eb60368aee0314e6de261daa6ef.tar.bz2 rneovim-8afb3a49c0762eb60368aee0314e6de261daa6ef.zip |
fix(highlight): add create param in nvim_get_hl
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 411d63b921..da10ab5bd4 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -96,6 +96,7 @@ Integer nvim_get_hl_id_by_name(String name) /// - name: (string) Get a highlight definition by name. /// - id: (integer) Get a highlight definition by id. /// - link: (boolean, default true) Show linked group name instead of effective definition |:hi-link|. +/// - create: (boolean, default true) When highlight group doesn't exist create it. /// /// @param[out] err Error details, if any. /// @return Highlight groups as a map from group name to a highlight definition map as in |nvim_set_hl()|, |