feat: enhance Noice configuration with progress and route options
This commit is contained in:
+19
-1
@@ -595,6 +595,7 @@ M.minifiles = {
|
|||||||
vim.api.nvim_create_autocmd('User', {
|
vim.api.nvim_create_autocmd('User', {
|
||||||
pattern = 'MiniFilesActionRename',
|
pattern = 'MiniFilesActionRename',
|
||||||
callback = function(event)
|
callback = function(event)
|
||||||
|
---@diagnostic disable-next-line: undefined-field
|
||||||
LazyVim.lsp.on_rename(event.data.from, event.data.to)
|
LazyVim.lsp.on_rename(event.data.from, event.data.to)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
@@ -1629,7 +1630,24 @@ M.auto_dark_mode = {
|
|||||||
M.image = 'markdown'
|
M.image = 'markdown'
|
||||||
|
|
||||||
--- Noice configuration options
|
--- 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
|
--- Smear Cursor
|
||||||
M.smearcursor = function()
|
M.smearcursor = function()
|
||||||
|
|||||||
Reference in New Issue
Block a user