Skip to content

Commit 20a0707

Browse files
fix(#2507): icon in message after rename-file (#2510)
* fix(#2507): icon in message after rename-file * fix(#2507): icon in message after rename-file --------- Co-authored-by: Alexander Courtis <alex@courtis.org>
1 parent 24bb0ed commit 20a0707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/nvim-tree/actions/fs/rename-file.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function M.rename(node, to)
3434
if not success then
3535
return notify.warn(err_fmt(notify_from, notify_to, err))
3636
end
37-
notify.info(notify_from .. "" .. notify_to)
37+
notify.info(string.format("%s -> %s", notify_from, notify_to))
3838
utils.rename_loaded_buffers(node.absolute_path, to)
3939
events._dispatch_node_renamed(node.absolute_path, to)
4040
end

0 commit comments

Comments
 (0)