From 15bd524125764259d2670fb322ee1ab3b81a7c67 Mon Sep 17 00:00:00 2001 From: William Hsieh Date: Fri, 1 Nov 2024 14:43:39 +0800 Subject: [PATCH] feat(noice): set default message view to mini --- config/nvim/lua/plugins/noice.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/nvim/lua/plugins/noice.lua b/config/nvim/lua/plugins/noice.lua index 626ce04f..c900e46a 100644 --- a/config/nvim/lua/plugins/noice.lua +++ b/config/nvim/lua/plugins/noice.lua @@ -1,3 +1,5 @@ +---@module "noice" + local M = { "folke/noice.nvim", event = "VeryLazy", @@ -7,9 +9,11 @@ local M = { }, } +---@type NoiceConfig M.opts = { messages = { view_search = false, + view = "mini", view_error = "mini", view_warn = "mini", },