From b66ec99a8306d330e6bcd535515627bf76da58d9 Mon Sep 17 00:00:00 2001 From: psychhim Date: Sun, 12 Oct 2025 21:44:31 +0530 Subject: [PATCH] Fix: Fixed some messages. --- lua/update_kickestend.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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