aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/shada.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-04 11:39:12 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-04 12:11:38 +0800
commitbbfc44e255ec6d1a6ced68dde64ff5d3c68b9ceb (patch)
tree410fdd3af60b0ba3af8a67edde01818ba6a84a89 /src/nvim/shada.c
parent64869831171ffa455f35d1a1ce3a3f9c7e7416a2 (diff)
downloadrneovim-bbfc44e255ec6d1a6ced68dde64ff5d3c68b9ceb.tar.gz
rneovim-bbfc44e255ec6d1a6ced68dde64ff5d3c68b9ceb.tar.bz2
rneovim-bbfc44e255ec6d1a6ced68dde64ff5d3c68b9ceb.zip
refactor: pass "preview" to regtilde()
Diffstat (limited to 'src/nvim/shada.c')
-rw-r--r--src/nvim/shada.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c
index b909888783..6c0add87d3 100644
--- a/src/nvim/shada.c
+++ b/src/nvim/shada.c
@@ -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: