mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-14 05:21:13 +00:00
52 lines
718 B
Lua
52 lines
718 B
Lua
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%",
|
|
},
|
|
},
|
|
},
|
|
messages = {
|
|
view_search = false,
|
|
},
|
|
routes = {
|
|
{
|
|
filter = {
|
|
event = "lsp",
|
|
find = "diagnostics",
|
|
},
|
|
opts = { skip = true },
|
|
},
|
|
{
|
|
filter = {
|
|
event = "msg_show",
|
|
kind = "",
|
|
find = "escrito", -- localized for "written"
|
|
},
|
|
opts = { skip = true },
|
|
},
|
|
{
|
|
view = "popup",
|
|
filter = {
|
|
find = "File larger than",
|
|
},
|
|
opts = {
|
|
size = {
|
|
width = 100,
|
|
height = 4,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
})
|