整改部分默认配置

This commit is contained in:
LingZhaoHui 2024-08-09 01:24:28 +08:00
parent b29cc3a7d0
commit 6b1343df60
Signed by: zeekling
GPG Key ID: D96E4E75267CA2CC
2 changed files with 16 additions and 4 deletions

View File

@ -31,6 +31,7 @@ return {
name = "dirTree",
t = { "<cmd>Neotree left<cr>", "show or hidden dir tree on left" },
p = { "<cmd>Neotree float<cr>", "Pop dir tree" },
c = { "<cmd>Neotree current<cr>", "Open dir tree in current" },
},
f = {
name = "Find",

View File

@ -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",