mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
refactor(highlight): make syn_check_group alloc free for existing group
This commit is contained in:
@@ -4253,7 +4253,7 @@ int build_stl_str_hl(
|
||||
if (*fmt_p == '#') {
|
||||
stl_items[curitem].type = Highlight;
|
||||
stl_items[curitem].start = out_p;
|
||||
stl_items[curitem].minwid = -syn_namen2id(t, (int)(fmt_p - t));
|
||||
stl_items[curitem].minwid = -syn_name2id_len(t, (size_t)(fmt_p - t));
|
||||
curitem++;
|
||||
fmt_p++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user