Updated neovim and noice config

This commit is contained in:
2023-10-06 09:10:39 -04:00
parent 2f6630b272
commit a8e8228696
4 changed files with 55 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
return {
"folke/noice.nvim",
event = "VeryLazy",
-- config.lsp.signature.enabled = false
opts = {
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
@@ -20,11 +21,20 @@ return {
signature = { enabled = false },
},
routes = {
{
{ -- enables messages for showing macro recording.
view = "notify",
filter = { event = "msg_showmode" },
},
}
{ -- Hide the written messages.
view = 'notify',
filter = {
event = "msg_show",
kind = "",
find = "written"
},
opts = { skip = true }
}
},
},
dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
@@ -33,5 +43,5 @@ return {
-- `nvim-notify` is only needed, if you want to use the notification view.
-- If not available, we use `mini` as the fallback
"rcarriga/nvim-notify",
}
},
}