1
0
nvim-config/lua/valeth/plugins/noice.lua
Patrick Auernig 0ef219b200 Put notifications on top
Bottom conflicts with lsp status output and gets in the way too often.
2024-04-20 16:40:55 +02:00

32 lines
573 B
Lua

local spec = {
"folke/noice.nvim",
tag = "v2.0.0",
}
spec.event = "VeryLazy"
spec.opts = {
lsp = {
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true,
},
},
presets = {
command_palette = true,
lsp_doc_border = true,
},
}
spec.keys = {
{ "<leader>nd", "<cmd>NoiceDismiss<CR>" },
}
spec.dependencies = {
"MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
}
return spec