From d1db93ef00954e2b5cb546e2fab421353c661546 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Tue, 17 Sep 2024 01:39:07 -0700 Subject: [PATCH] feat: add lualine lspprogress autocmd --- config/plugins/setup.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/plugins/setup.nix b/config/plugins/setup.nix index ae6050e..3261f04 100644 --- a/config/plugins/setup.nix +++ b/config/plugins/setup.nix @@ -55,5 +55,12 @@ return "" end, }) + + vim.api.nvim_create_augroup("lualine_augroup", { clear = true }) + vim.api.nvim_create_autocmd("User", { + group = "lualine_augroup", + pattern = "LspProgressStatusUpdated", + callback = require("lualine").refresh, + }) ''; }