From d2bda27817a110a0a4d78cb4e328b67b39426b6c Mon Sep 17 00:00:00 2001 From: rootiest Date: Wed, 11 Dec 2024 15:03:11 -0500 Subject: [PATCH] feat: enhance Noice configuration with progress and route options --- lua/data/types.lua | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/lua/data/types.lua b/lua/data/types.lua index dbaa8a7..e904b56 100644 --- a/lua/data/types.lua +++ b/lua/data/types.lua @@ -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()