mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 9.1.0496: matched text is highlighted case-sensitively
Problem: matched text is highlighted case-sensitively
Solution: use MB_STRNICMP, update highlighting when the base changes
(glepnir)
fixes: #15021
closes: #15023
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d8c9340fc6
commit
f189138b39
@@ -1448,7 +1448,7 @@ ins_compl_show_pum(void)
|
||||
char_u *
|
||||
ins_compl_leader(void)
|
||||
{
|
||||
return compl_leader;
|
||||
return compl_leader != NULL ? compl_leader : compl_orig_text;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user