From e55234290285878f0e8718835861e9159c5179f0 Mon Sep 17 00:00:00 2001 From: Matt Leong Date: Sun, 7 Nov 2021 23:05:24 -0800 Subject: [PATCH] feat(utils): update command enhancements --- lua/cosmic/utils.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/cosmic/utils.lua b/lua/cosmic/utils.lua index ab4823f..b6efb0c 100644 --- a/lua/cosmic/utils.lua +++ b/lua/cosmic/utils.lua @@ -83,6 +83,11 @@ function M.update() command = 'git', args = { 'pull', '--ff-only' }, cwd = path, + on_start = function() + vim.notify('Updating...', vim.log.levels.INFO, { + title = 'CosmicNvim', + }) + end, on_exit = function() if vim.tbl_isempty(errors) then vim.notify(