52 lines
1.7 KiB
Lua
52 lines
1.7 KiB
Lua
return {
|
|
"folke/noice.nvim",
|
|
event = "VeryLazy",
|
|
opts = {
|
|
-- add any options here
|
|
},
|
|
dependencies = {
|
|
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
|
"MunifTanjim/nui.nvim",
|
|
},
|
|
config = function()
|
|
require("noice").setup {
|
|
views = {
|
|
cmdline_popup = {
|
|
position = {
|
|
row = "50%",
|
|
col = "50%",
|
|
},
|
|
popupmenu = {
|
|
relative = "cmdline",
|
|
},
|
|
},
|
|
},
|
|
-- you can enable a preset for easier configuration
|
|
presets = {
|
|
bottom_search = true, -- use a classic bottom cmdline for search
|
|
-- command_palette = true, -- position the cmdline and popupmenu together
|
|
long_message_to_split = true, -- long messages will be sent to a split
|
|
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
|
lsp_doc_border = false, -- add a border to hover docs and signature help
|
|
},
|
|
messages = {
|
|
enabled = false,
|
|
},
|
|
notify = {
|
|
enabled = false,
|
|
},
|
|
commands = {
|
|
enabled = false,
|
|
},
|
|
lsp = {
|
|
progress = {
|
|
enabled = false,
|
|
},
|
|
hover = { enabled = false },
|
|
signature = { enabled = false },
|
|
message = { enabled = false },
|
|
documentation = { enabled = false },
|
|
},
|
|
}
|
|
end,
|
|
}
|