mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 06:16:08 +00:00
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user