添加折叠插件

This commit is contained in:
captain 2026-04-12 09:00:17 +08:00
parent 3b19a9c8a8
commit ba406e9e0e
5 changed files with 113 additions and 19 deletions

View file

@ -30,6 +30,10 @@ local function load_plugin()
},
})
end)
-- 提前触发 BufReadPost 的事件钩子,让 LSP 悄悄在后台 require 完毕
vim.schedule(function()
vim.api.nvim_exec_autocmds("BufReadPost", { modeline = false })
end)
end
vim.keymap.set({ "n", "v" }, "<c-t>", function()