Files
mzansi_vim/lua/plugins/cmd_popup.lua

35 lines
866 B
Lua

return {
"folke/noice.nvim",
event = "VeryLazy",
opts = {
cmdline = {
view = "cmdline_popup", -- This ensures it's a popup and not at the bottom
},
routes = {
{
filter = {
event = "lsp",
kind = "progress",
},
opts = { skip = true },
},
},
presets = {
bottom_search = false, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- render entities like :help in a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = true, -- add a border to hover docs and signature help
},
},
dependencies = {
"MunifTanjim/nui.nvim",
{
"rcarriga/nvim-notify",
opts = {
timeout = 2000, -- Set this to your preferred time in milliseconds (e.g., 3000 = 3 seconds)
},
},
}
}