feat(nvim): filter undesired messages in Noice
This commit is contained in:
parent
383a25fe22
commit
d85545c767
@ -34,6 +34,21 @@ return {
|
|||||||
filter = { event = "msg_show", find = "Hop .*:" },
|
filter = { event = "msg_show", find = "Hop .*:" },
|
||||||
opts = { skip = true }
|
opts = { skip = true }
|
||||||
},
|
},
|
||||||
|
-- Ignore `written` message
|
||||||
|
{
|
||||||
|
filter = { event = "msg_show", find = '^".*" %d*L, %d*B written$' },
|
||||||
|
opts = { skip = true }
|
||||||
|
},
|
||||||
|
-- Ignore `undo` message
|
||||||
|
{
|
||||||
|
filter = { event = "msg_show", find = "^%d+ .*; before #%d+ %d+.*ago$" },
|
||||||
|
opts = { skip = true }
|
||||||
|
},
|
||||||
|
-- Ignore `redo` message
|
||||||
|
{
|
||||||
|
filter = { event = "msg_show", find = "^%d+ .*; after #%d+ %d+.*ago$" },
|
||||||
|
opts = { skip = true }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
view = "split",
|
view = "split",
|
||||||
filter = { event = "msg_show", min_height = 20 },
|
filter = { event = "msg_show", min_height = 20 },
|
||||||
|
Loading…
Reference in New Issue
Block a user