mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nvim: create an autocommand to start fidget
This commit is contained in:
parent
2b4dca0131
commit
4856a46051
2 changed files with 6 additions and 2 deletions
|
|
@ -27,3 +27,9 @@ vim.api.nvim_create_autocmd("OptionSet", {
|
|||
pattern = "textwidth",
|
||||
callback = function() vim.wo.colorcolumn = tostring(vim.bo.textwidth) end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("LspProgress", {
|
||||
once = true,
|
||||
group = vim.api.nvim_create_augroup("UserLspConfig", {}),
|
||||
callback = function() require("fidget").setup {} end,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue