2023-09-22 16:55:08 +00:00
|
|
|
require("noice").setup({
|
|
|
|
presets = {
|
|
|
|
bottom_search = true,
|
|
|
|
command_palette = false,
|
|
|
|
},
|
|
|
|
cmdline = {
|
|
|
|
view = "cmdline",
|
|
|
|
},
|
|
|
|
views = {
|
|
|
|
mini = {
|
|
|
|
backend = "mini",
|
|
|
|
align = "message-left",
|
|
|
|
position = {
|
|
|
|
row = -1,
|
|
|
|
col = "0%",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-09-23 10:26:32 +00:00
|
|
|
messages = {
|
|
|
|
view_search = false,
|
|
|
|
},
|
2023-09-22 16:55:08 +00:00
|
|
|
routes = {
|
|
|
|
{
|
|
|
|
filter = {
|
|
|
|
event = "lsp",
|
|
|
|
find = "diagnostics",
|
|
|
|
},
|
|
|
|
opts = { skip = true },
|
|
|
|
},
|
2023-10-21 14:14:50 +00:00
|
|
|
{
|
|
|
|
filter = {
|
|
|
|
event = "msg_show",
|
|
|
|
kind = "",
|
|
|
|
find = "escrito", -- localized for "written"
|
|
|
|
},
|
|
|
|
opts = { skip = true },
|
|
|
|
},
|
2023-09-22 16:55:08 +00:00
|
|
|
},
|
|
|
|
})
|