From 0ede957833edc1735c6df15b6fbc5728ef28c7f4 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 12 Jan 2024 20:49:02 +0100 Subject: [PATCH] feat(nvim): Add noice.nvim --- .config/nvim/lua/plugins/noice.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .config/nvim/lua/plugins/noice.lua diff --git a/.config/nvim/lua/plugins/noice.lua b/.config/nvim/lua/plugins/noice.lua new file mode 100644 index 0000000..e782879 --- /dev/null +++ b/.config/nvim/lua/plugins/noice.lua @@ -0,0 +1,26 @@ +return { + "folke/noice.nvim", + event = "VeryLazy", + dependencies = { + "MunifTanjim/nui.nvim", + "rcarriga/nvim-notify" + }, + config = function () + require("noice").setup({ + lsp = { + 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, + long_message_to_split = true, + inc_rename = false, + lsp_doc_border = false, + } + }) + end +}