return { { "noice.nvim", opts = { presets = { command_palette = false, -- don't position the cmdline and popupmenu together lsp_doc_border = true, -- add a border to hover docs and signature help }, cmdline = { view = "cmdline", }, routes = { { -- send file written messages to mini filter = { event = "msg_show", kind = "", find = "%[w%]", }, opts = { skip = true }, }, }, }, config = function(_, opts) -- ensure [w] is written to msg_show so we can match it vim.opt.shortmess:append("w") vim.opt.shortmess:remove("W") require("noice").setup(opts) end, }, }