refactor(nvim): filter out noise in notifications

main
sgoudham 1 year ago
parent aaed86bc47
commit 69dccb2080
Signed by: hammy
GPG Key ID: 44E818FD5457EEA4

@ -7,11 +7,19 @@ return {
}, },
{ {
"folke/noice.nvim", "folke/noice.nvim",
opts = { opts = function(_, opts)
presets = { table.insert(opts.routes, {
lsp_doc_border = true, filter = {
}, any = {
}, { event = "notify", find = "No information available" },
{ event = "msg_show", find = "fewer lines" },
{ event = "msg_show", find = "more lines" },
},
},
opts = { skip = true },
})
opts.presets.lsp_doc_border = false
end,
}, },
{ {
"folke/persistence.nvim", "folke/persistence.nvim",

Loading…
Cancel
Save