feat: enhance Noice configuration with progress and route options

This commit is contained in:
2024-12-11 15:03:11 -05:00
parent c7c8ccb503
commit d2bda27817
+19 -1
View File
@@ -595,6 +595,7 @@ M.minifiles = {
vim.api.nvim_create_autocmd('User', {
pattern = 'MiniFilesActionRename',
callback = function(event)
---@diagnostic disable-next-line: undefined-field
LazyVim.lsp.on_rename(event.data.from, event.data.to)
end,
})
@@ -1629,7 +1630,24 @@ M.auto_dark_mode = {
M.image = 'markdown'
--- Noice configuration options
M.noice = { presets = { inc_rename = true } }
M.noice = {
presets = {
inc_rename = true,
},
routes = {
{
filter = {
find = 'position_encoding param is required',
},
opts = { skip = true },
},
},
lsp = {
progress = {
enabled = false,
},
},
}
--- Smear Cursor
M.smearcursor = function()