fix: add spaces to prompts and blankline to rename output (#1154)

This commit is contained in:
Michael
2022-04-11 10:47:23 +03:00
committed by GitHub
parent 94ce41ce96
commit fc925d814a
2 changed files with 3 additions and 2 deletions

View File

@@ -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)