mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-24 19:03:49 -08:00
feat: add lualine lspprogress autocmd
This commit is contained in:
parent
4fa6fcdd51
commit
d1db93ef00
1 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||||
|
})
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue