mirror of
https://github.com/zoriya/flake.git
synced 2026-06-26 11:17:15 +00:00
42 lines
668 B
Lua
42 lines
668 B
Lua
return {
|
|
{
|
|
"noice.nvim",
|
|
opts = {
|
|
presets = {
|
|
command_palette = true,
|
|
inc_rename = true,
|
|
},
|
|
lsp = {
|
|
signature = {
|
|
auto_open = {
|
|
enabled = false,
|
|
},
|
|
},
|
|
},
|
|
views = {
|
|
mini = {
|
|
timeout = 5000,
|
|
reverse = false,
|
|
},
|
|
},
|
|
routes = {
|
|
-- ignore ltex messages
|
|
{
|
|
filter = {
|
|
event = "lsp",
|
|
kind = "progress",
|
|
cond = function(message)
|
|
local client = vim.tbl_get(message.opts, "progress", "client")
|
|
return client == "ltex"
|
|
end,
|
|
},
|
|
opts = { skip = true },
|
|
},
|
|
},
|
|
},
|
|
after = function(plug)
|
|
require("noice").setup(plug.opts)
|
|
end,
|
|
},
|
|
}
|