Files
hyprland/config/nvim/lua/plugins/extras/lazyvim/noice.lua
T
2024-03-30 05:40:38 +05:45

50 lines
958 B
Lua

return {
"folke/noice.nvim",
opts = function(_, opts)
table.insert(opts.routes, {
filter = {
event = "notify",
find = "No information available",
},
opts = {
require("noice").setup({
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" },
},
},
},
})
},
})
opts.presets.lsp_doc_border = true
opts.presets.bottom_search = false
end,
}