Add missing remove tooltip call

This commit is contained in:
Francesco Abbate
2021-09-09 15:42:16 +02:00
committed by Francesco
parent b440a22581
commit 403b7f6fb6
+1
View File
@@ -96,6 +96,7 @@ local function replace(kind, default, fn)
local s = string.format("Replace %s %q With", kind, old)
core.command_view:set_hidden_suggestions()
core.command_view:enter(s, function(new)
core.status_view:remove_tooltip()
insert_unique(core.previous_replace, new)
local n = doc():replace(function(text)
return fn(text, old, new)