From 92d70b76422934b1646d8698d5c945332e308477 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sun, 22 Dec 2024 18:10:19 +0100 Subject: [PATCH] UI Tweaks --- lua/editor/ui.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lua/editor/ui.lua diff --git a/lua/editor/ui.lua b/lua/editor/ui.lua new file mode 100644 index 0000000..e630bcb --- /dev/null +++ b/lua/editor/ui.lua @@ -0,0 +1,25 @@ +return { + 'folke/noice.nvim', + 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 = false, + command_palette = true, + long_message_to_split = true, + inc_rename = false, + lsp_doc_border = false, + }, + }) + end, +}