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",
|
2024-02-03 15:22:54 +00:00
|
|
|
focusable = false,
|
2023-09-22 16:55:08 +00:00
|
|
|
position = {
|
2023-12-07 15:24:12 +00:00
|
|
|
row = "98%",
|
2023-09-22 16:55:08 +00:00
|
|
|
col = "0%",
|
|
|
|
},
|
2023-12-07 15:24:12 +00:00
|
|
|
border = {
|
|
|
|
style = "rounded",
|
|
|
|
},
|
2023-09-22 16:55:08 +00:00
|
|
|
},
|
|
|
|
},
|
2023-09-23 10:26:32 +00:00
|
|
|
messages = {
|
|
|
|
view_search = false,
|
|
|
|
},
|
2024-02-03 15:22:54 +00:00
|
|
|
lsp = {
|
|
|
|
override = {
|
|
|
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
|
|
|
["vim.lsp.util.stylize_markdown"] = true,
|
|
|
|
["cmp.entry.get_documentation"] = true,
|
|
|
|
},
|
|
|
|
},
|
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 },
|
|
|
|
},
|
2024-06-07 15:52:28 +00:00
|
|
|
{
|
|
|
|
filter = {
|
|
|
|
event = "notify",
|
|
|
|
kind = "debug",
|
|
|
|
},
|
|
|
|
opts = { skip = true },
|
|
|
|
},
|
2023-11-05 17:28:24 +00:00
|
|
|
{
|
|
|
|
view = "popup",
|
|
|
|
filter = {
|
|
|
|
find = "File larger than",
|
|
|
|
},
|
|
|
|
opts = {
|
|
|
|
size = {
|
|
|
|
width = 100,
|
|
|
|
height = 4,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2023-09-22 16:55:08 +00:00
|
|
|
},
|
|
|
|
})
|