mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
refactor: pass "preview" to regtilde()
This commit is contained in:
@@ -1238,7 +1238,7 @@ static void shada_read(ShaDaReadDef *const sd_reader, const int flags)
|
||||
// string is close to useless: you can only use it with :& or :~ and
|
||||
// that’s all because s//~ is not available until the first call to
|
||||
// regtilde. Vim was not calling this for some reason.
|
||||
(void)(char *)regtilde((char_u *)cur_entry.data.sub_string.sub, p_magic);
|
||||
(void)(char *)regtilde((char_u *)cur_entry.data.sub_string.sub, p_magic, false);
|
||||
// Do not free shada entry: its allocated memory was saved above.
|
||||
break;
|
||||
case kSDItemHistoryEntry:
|
||||
|
Reference in New Issue
Block a user