mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-22 01:19:45 +01:00
49 lines
804 B
Lua
49 lines
804 B
Lua
return {
|
|
"folke/noice.nvim",
|
|
event = "VeryLazy",
|
|
dependencies = {
|
|
"MunifTanjim/nui.nvim",
|
|
"rcarriga/nvim-notify",
|
|
},
|
|
config = function()
|
|
require("noice").setup({
|
|
routes = {
|
|
{
|
|
view = "notify",
|
|
filter = { event = "msg_showmode" },
|
|
},
|
|
},
|
|
views = {
|
|
cmdline_popup = {
|
|
position = {
|
|
row = 5,
|
|
col = "50%",
|
|
},
|
|
size = {
|
|
width = 60,
|
|
height = "auto",
|
|
},
|
|
},
|
|
popupmenu = {
|
|
relative = "editor",
|
|
position = {
|
|
row = 8,
|
|
col = "50%",
|
|
},
|
|
size = {
|
|
width = 60,
|
|
height = 10,
|
|
},
|
|
border = {
|
|
style = "rounded",
|
|
padding = { 0, 1 },
|
|
},
|
|
win_options = {
|
|
winhighlight = { Normal = "Normal", FloatBorder = "DiagnosticInfo" },
|
|
},
|
|
},
|
|
},
|
|
})
|
|
end,
|
|
}
|