* fix(#2507): icon in message after rename-file * fix(#2507): icon in message after rename-file --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
This commit is contained in:
@@ -34,7 +34,7 @@ function M.rename(node, to)
|
|||||||
if not success then
|
if not success then
|
||||||
return notify.warn(err_fmt(notify_from, notify_to, err))
|
return notify.warn(err_fmt(notify_from, notify_to, err))
|
||||||
end
|
end
|
||||||
notify.info(notify_from .. " " .. notify_to)
|
notify.info(string.format("%s -> %s", notify_from, notify_to))
|
||||||
utils.rename_loaded_buffers(node.absolute_path, to)
|
utils.rename_loaded_buffers(node.absolute_path, to)
|
||||||
events._dispatch_node_renamed(node.absolute_path, to)
|
events._dispatch_node_renamed(node.absolute_path, to)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user