diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-09-09 13:01:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 13:01:40 +0200 |
commit | d4e80a051e54a60eae05880c6aa89d8abde6e935 (patch) | |
tree | 3bca87adfa14d9957a049c1f0f2f16e59c9c574b /src/nvim/api/vim.c | |
parent | 420b94eeece989a72b8891110f7d272f50eb0a1e (diff) | |
parent | 8afb3a49c0762eb60368aee0314e6de261daa6ef (diff) | |
download | rneovim-d4e80a051e54a60eae05880c6aa89d8abde6e935.tar.gz rneovim-d4e80a051e54a60eae05880c6aa89d8abde6e935.tar.bz2 rneovim-d4e80a051e54a60eae05880c6aa89d8abde6e935.zip |
Merge pull request #25039 from glepnir/fix_hl
fix(highlight): add create param in nvim_get_hl api function
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()|, |