fix: add spaces to prompts and blankline to rename output (#1154)
This commit is contained in:
@@ -33,6 +33,7 @@ function M.fn(with_sub)
|
|||||||
if not success then
|
if not success then
|
||||||
return a.nvim_err_writeln("Could not rename " .. node.absolute_path .. " to " .. new_file_path)
|
return a.nvim_err_writeln("Could not rename " .. node.absolute_path .. " to " .. new_file_path)
|
||||||
end
|
end
|
||||||
|
utils.clear_prompt()
|
||||||
a.nvim_out_write(node.absolute_path .. " ➜ " .. new_file_path .. "\n")
|
a.nvim_out_write(node.absolute_path .. " ➜ " .. new_file_path .. "\n")
|
||||||
utils.rename_loaded_buffers(node.absolute_path, new_file_path)
|
utils.rename_loaded_buffers(node.absolute_path, new_file_path)
|
||||||
events._dispatch_node_renamed(abs_path, new_file_path)
|
events._dispatch_node_renamed(abs_path, new_file_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user