diff --git a/lua/update_kickestend.lua b/lua/update_kickestend.lua index 124368e..9fadf1b 100644 --- a/lua/update_kickestend.lua +++ b/lua/update_kickestend.lua @@ -30,13 +30,13 @@ 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 detected! Delete and overwrite them? (This cannot be undone) (y/N): ' + local answer = vim.fn.input 'Local changes or new files detected! Overwrite and delete them? (y/N): ' if answer:lower() ~= 'y' then vim.notify('Update cancelled to preserve your modifications.', vim.log.levels.WARN) return end - vim.notify('Discarding all local changes and untracked files...', vim.log.levels.WARN) + vim.notify('\nDiscarding all local changes and untracked files...', vim.log.levels.WARN) vim.fn.system { 'git', '-C', config_path, 'reset', '--hard' } vim.fn.system { 'git', '-C', config_path, 'clean', '-fdx' } end