--- @type LazyPluginSpec return { "folke/noice.nvim", event = "VeryLazy", dependencies = { "MunifTanjim/nui.nvim", "rcarriga/nvim-notify", }, config = function() local noice = require("noice") noice.setup({ views = { cmdline_popup = { position = { row = "85%", col = "50%", }, size = { width = "50%", 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" }, }, }, }, commands = { history = { view = "popup", }, }, routes = { { filter = { event = "msg_show", kind = "", find = "written", }, opts = { skip = true }, }, }, lsp = { progress = { enabled = false, }, override = { ["vim.lsp.util.convert_input_to_markdown_lines"] = true, ["vim.lsp.util.stylize_markdown"] = true, ["cmp.entry.get_documentation"] = true, }, hover = { silent = true, }, }, presets = { bottom_search = true, command_palette = true, long_message_to_split = true, inc_rename = true, lsp_doc_border = true, }, }) vim.keymap.set("n", "td", ":NoiceDismis", { desc = "Dismiss noice messages", silent = true }) end, }