mirror of
https://github.com/neovim/neovim.git
synced 2025-09-22 19:18:34 +00:00
refactor: reduce number of unique char casts (#15995)
This commit is contained in:
@@ -2208,7 +2208,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool noc
|
||||
|
||||
if (provider_err) {
|
||||
Decoration err_decor = DECORATION_INIT;
|
||||
int hl_err = syn_check_group((char_u *)S_LEN("ErrorMsg"));
|
||||
int hl_err = syn_check_group(S_LEN("ErrorMsg"));
|
||||
kv_push(err_decor.virt_text,
|
||||
((VirtTextChunk){ .text = provider_err,
|
||||
.hl_id = hl_err }));
|
||||
|
Reference in New Issue
Block a user