From 9d0051e6b4170851ebcc09e7ff44097818c8e1dc Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 17 Sep 2023 04:54:00 -0400 Subject: start using willruggiano/neovim.nix --- plugins/noice.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 plugins/noice.lua (limited to 'plugins/noice.lua') diff --git a/plugins/noice.lua b/plugins/noice.lua new file mode 100644 index 0000000..ac8879e --- /dev/null +++ b/plugins/noice.lua @@ -0,0 +1,30 @@ +return 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, + }, + }, + routes = { + { + filter = { + event = "msg_show", + any = { + { find = "%d+L, %d+B" }, + { find = "; after #%d+" }, + { find = "; before #%d+" }, + }, + }, + view = "mini", + }, + }, + presets = { + bottom_search = true, + command_palette = true, + long_message_to_split = true, + inc_rename = true, + }, + }) +end -- cgit v1.2.3