diff --git a/data/core/commands/findreplace.lua b/data/core/commands/findreplace.lua index 56761690..f41a748a 100644 --- a/data/core/commands/findreplace.lua +++ b/data/core/commands/findreplace.lua @@ -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)