diff options
author | Dundar Göc <gocdundar@gmail.com> | 2022-08-26 23:11:25 +0200 |
---|---|---|
committer | dundargoc <gocdundar@gmail.com> | 2022-09-11 13:28:59 +0200 |
commit | 3ff46544c9872b4161fd098569c30b55fe3abd36 (patch) | |
tree | 589b9ebdd86fde7e200b6235596ce6feac976122 /src/nvim/highlight.c | |
parent | 4638fcf4fb688fa548b8ce337ec3b7c1327fbfe9 (diff) | |
download | rneovim-3ff46544c9872b4161fd098569c30b55fe3abd36.tar.gz rneovim-3ff46544c9872b4161fd098569c30b55fe3abd36.tar.bz2 rneovim-3ff46544c9872b4161fd098569c30b55fe3abd36.zip |
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/highlight.c')
-rw-r--r-- | src/nvim/highlight.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/highlight.c b/src/nvim/highlight.c index e42cb66422..d507f07bca 100644 --- a/src/nvim/highlight.c +++ b/src/nvim/highlight.c @@ -407,7 +407,7 @@ void update_ns_hl(int ns_id) int *hl_attrs = **alloc; for (int hlf = 0; hlf < HLF_COUNT; hlf++) { - int id = syn_check_group(hlf_names[hlf], STRLEN(hlf_names[hlf])); + int id = syn_check_group(hlf_names[hlf], strlen(hlf_names[hlf])); bool optional = (hlf == HLF_INACTIVE || hlf == HLF_NFLOAT); hl_attrs[hlf] = hl_get_ui_attr(ns_id, hlf, id, optional); } |