remotes/origin/HEAD
pseudometa 2023-02-22 17:00:04 +01:00
parent e115912eeb
commit 9df5139837
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ local function fileOp(op)
vim.notify('Duplicated "' .. oldName .. '" as "' .. newName .. '".')
elseif op == "rename" or op == "move-rename" then
if fileExists(newFilePath) then
vim.notify("File with that name already exists. Aborting.", logError)
vim.notify('Could not rename file: File with name "'..newName..'" already exists.', logError)
return
end
local success, errormsg = os.rename(oldName, newName)