From fc095fc6bf3fcc8cceb678b5b024b72f9cbcf8f5 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 15 Sep 2023 08:16:19 -0500 Subject: [PATCH] refactor(nvim): properly filter some messages in noice --- dots/.config/nvim/lua/plugins/configs/noice.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dots/.config/nvim/lua/plugins/configs/noice.lua b/dots/.config/nvim/lua/plugins/configs/noice.lua index 953f159b..c570da47 100644 --- a/dots/.config/nvim/lua/plugins/configs/noice.lua +++ b/dots/.config/nvim/lua/plugins/configs/noice.lua @@ -29,6 +29,17 @@ return { popupmenu = { backend = "cmp", }, + routes = { + { + filter = { event = "msg_show", find = "Hop .*:" }, + opts = { skip = true } + }, + { + view = "split", + filter = { event = "msg_show", min_height = 20 }, + }, + + } }, dependencies = { -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries