summaryrefslogtreecommitdiff
path: root/plugins/noice.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/noice.lua')
-rw-r--r--plugins/noice.lua30
1 files changed, 30 insertions, 0 deletions
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