kickstart.nvim/lua/custom/plugins/wayland-noice.lua

67 lines
1.5 KiB
Lua

return {
{
'folke/noice.nvim',
dependencies = {
'MunifTanjim/nui.nvim',
'rcarriga/nvim-notify',
},
event = 'VeryLazy',
opts = {
lsp = {
signature = {
enabled = false,
},
override = {
['vim.lsp.util.convert_input_to_markdown_lines'] = true,
['vim.lsp.util.stylize_markdown'] = true,
['cmp.entry.get_documentation'] = true,
},
},
presets = {
bottom_search = true,
command_palette = true,
lsp_doc_border = true,
long_message_to_split = true,
inc_rename = true,
},
views = {
cmdline_popup = {
border = {
style = 'none',
padding = { 2, 3 },
},
filter_options = {},
win_options = {
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:FloatBorder',
},
},
popupmenu = {
border = {
style = 'none',
padding = { 1, 2 },
},
filter_options = {},
win_options = {
winhighlight = 'NormalFloat:NormalFloat,FloatBorder:FloatBorder',
},
},
},
routes = {
{
view = 'notify',
filter = { event = 'msg_showmode' },
},
},
notify = {
enabled = true,
view = 'notify',
},
messages = {
enabled = true,
view = 'notify',
opts = {},
},
},
},
}