From 6b1343df6011aae2ce1e2d1467776c722c1e0769 Mon Sep 17 00:00:00 2001 From: zeekling Date: Fri, 9 Aug 2024 01:24:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E6=94=B9=E9=83=A8=E5=88=86=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/plugins/help.lua | 1 + lua/plugins/plugin-base.lua | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/lua/plugins/help.lua b/lua/plugins/help.lua index 4ff1625..f8ed928 100644 --- a/lua/plugins/help.lua +++ b/lua/plugins/help.lua @@ -31,6 +31,7 @@ return { name = "dirTree", t = { "Neotree left", "show or hidden dir tree on left" }, p = { "Neotree float", "Pop dir tree" }, + c = { "Neotree current", "Open dir tree in current" }, }, f = { name = "Find", diff --git a/lua/plugins/plugin-base.lua b/lua/plugins/plugin-base.lua index ae561f8..24132e3 100644 --- a/lua/plugins/plugin-base.lua +++ b/lua/plugins/plugin-base.lua @@ -60,10 +60,10 @@ return { local notify = require("notify") notify.setup({ -- "fade", "slide", "fade_in_slide_out", "static" - stages = "static", + stages = "slide", on_open = nil, on_close = nil, - timeout = 3000, + timeout = 2000, fps = 1, render = "default", background_colour = "Normal", @@ -71,7 +71,7 @@ return { max_height = math.floor(vim.api.nvim_win_get_height(0) / 4), -- minimum_width = 50, -- ERROR > WARN > INFO > DEBUG > TRACE - level = "TRACE", + level = "INFO", }) vim.notify = notify @@ -131,6 +131,11 @@ return { "MunifTanjim/nui.nvim", -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information }, + config = function() + require("neo-tree").setup({ + popup_border_style = "rounded", + }) + end, }, { "tiagovla/scope.nvim", @@ -158,7 +163,13 @@ return { }, { "stevearc/dressing.nvim", - opts = {}, + config = function() + require("dressing").setup({ + input = { + enabled = true, + }, + }) + end, }, { "mhartington/formatter.nvim",