mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 14:56:08 +00:00
vim-patch:8.2.2182: Vim9: value of 'magic' is still relevant
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes vim/vim#7509)
f4e2099e39
EX_NONWHITE_OK is N/A: only applies to Vim9 script.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -1252,7 +1252,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)regtilde(cur_entry.data.sub_string.sub, p_magic, false);
|
||||
(void)regtilde(cur_entry.data.sub_string.sub, magic_isset(), false);
|
||||
// Do not free shada entry: its allocated memory was saved above.
|
||||
break;
|
||||
case kSDItemHistoryEntry:
|
||||
|
Reference in New Issue
Block a user