nvim/lua/plugins/noice.lua

46 lines
928 B
Lua

return {
"folke/noice.nvim",
commit = "d9328ef",
enabled = true,
opts = {
cmdline = {
view = "cmdline",
format = {
cmdline = { pattern = "^:", icon = ":", lang = "vim" },
},
},
views = {
hover = {
border = { style = "rounded" },
-- size = { max_width = 20 },
},
},
presets = {
bottom_search = true,
command_palette = false,
long_message_to_split = true,
lsp_doc_border = true,
},
routes = {
{
filter = {
event = "notify",
find = "Request textDocument/inlayHint failed",
},
opts = { skip = true },
},
{
filter = {
event = "notify",
find = "Debug Failure. False expression",
},
opts = { skip = true },
},
},
-- lsp = {
-- progress = {
-- enabled = false
-- }
-- },
},
}