Update: Changes message to 'Local changes detected! Delete and overwrite them? (This cannot be undone) (y/N): '

This commit is contained in:
psychhim
2025-10-12 21:40:33 +05:30
parent e5afc46337
commit d0b90a5f38

View File

@@ -30,7 +30,7 @@ vim.api.nvim_create_user_command('UpdateKickestEnd', function()
-- If there are local changes or untracked files, confirm overwrite
if dirty then
local answer = vim.fn.input 'Local changes or new files detected! Overwrite and delete them? (y/N): '
local answer = vim.fn.input 'Local changes detected! Delete and overwrite them? (This cannot be undone) (y/N): '
if answer:lower() ~= 'y' then
vim.notify('Update cancelled to preserve your modifications.', vim.log.levels.WARN)
return