不同的模块支持不同的懒加载策略

This commit is contained in:
caprain 2026-04-13 17:16:58 +08:00
parent 51ee1aebf5
commit 851b1a422d
3 changed files with 28 additions and 18 deletions

View file

@ -26,9 +26,9 @@ vim.api.nvim_create_autocmd({
end
})
-- 懒加载触发器
-- 不同的模块支持不同的懒加载策略
-- vim.api.nvim_create_autocmd({
-- "InsertEnter", "CmdlineEnter", -- 补全/命令行
-- "InsertEnter"
-- }, {
-- callback = function()
-- PackUtils.load(P, function()