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, +}