1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-23 17:16:47 +00:00
dotfiles/.config/nvim/lua/plugins/noice.lua

40 lines
566 B
Lua
Raw Normal View History

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 },
},
},
})