Add missing remove tooltip call
This commit is contained in:
parent
b440a22581
commit
403b7f6fb6
|
@ -96,6 +96,7 @@ local function replace(kind, default, fn)
|
||||||
local s = string.format("Replace %s %q With", kind, old)
|
local s = string.format("Replace %s %q With", kind, old)
|
||||||
core.command_view:set_hidden_suggestions()
|
core.command_view:set_hidden_suggestions()
|
||||||
core.command_view:enter(s, function(new)
|
core.command_view:enter(s, function(new)
|
||||||
|
core.status_view:remove_tooltip()
|
||||||
insert_unique(core.previous_replace, new)
|
insert_unique(core.previous_replace, new)
|
||||||
local n = doc():replace(function(text)
|
local n = doc():replace(function(text)
|
||||||
return fn(text, old, new)
|
return fn(text, old, new)
|
||||||
|
|
Loading…
Reference in New Issue