From 22f90641eb67be0ed962a6fe9c47ec628ecd6245 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Mon, 4 Dec 2023 19:09:17 +0100 Subject: [PATCH] added noice plugin --- nvim/lua/settings/lazy/plugins/noice.lua | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 nvim/lua/settings/lazy/plugins/noice.lua diff --git a/nvim/lua/settings/lazy/plugins/noice.lua b/nvim/lua/settings/lazy/plugins/noice.lua new file mode 100644 index 0000000..dd8a60e --- /dev/null +++ b/nvim/lua/settings/lazy/plugins/noice.lua @@ -0,0 +1,26 @@ +return { + "folke/noice.nvim", + event = "VeryLazy", + opts = { + lsp = { + -- override markdown rendering so that **cmp** and other plugins use **Treesitter** + override = { + ["vim.lsp.util.convert_input_to_markdown_lines"] = true, + ["vim.lsp.util.stylize_markdown"] = true, + ["cmp.entry.get_documentation"] = true, + }, + }, + -- you can enable a preset for easier configuration + presets = { + bottom_search = true, -- use a classic bottom cmdline for search + command_palette = true, -- position the cmdline and popupmenu together + long_message_to_split = true, -- long messages will be sent to a split + inc_rename = false, -- enables an input dialog for inc-rename.nvim + lsp_doc_border = false, -- add a border to hover docs and signature help + }, + }, + dependencies = { + "MunifTanjim/nui.nvim", + "rcarriga/nvim-notify", + } +}