feat: add lualine lspprogress autocmd

This commit is contained in:
Youwen Wu 2024-09-17 01:39:07 -07:00
parent 4fa6fcdd51
commit d1db93ef00
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -55,5 +55,12 @@
return "" return ""
end, 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,
})
''; '';
} }