nvim/lua/plugins/noice.lua

39 lines
747 B
Lua

return {
"folke/noice.nvim",
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 },
},
},
-- lsp = {
-- progress = {
-- enabled = false
-- }
-- },
},
}