mirror of
https://github.com/cap153/nvim.git
synced 2026-05-01 10:55:49 +08:00
不同的模块支持不同的懒加载策略
This commit is contained in:
parent
51ee1aebf5
commit
851b1a422d
3 changed files with 28 additions and 18 deletions
|
|
@ -26,9 +26,9 @@ vim.api.nvim_create_autocmd({
|
|||
end
|
||||
})
|
||||
|
||||
-- 懒加载触发器
|
||||
-- 不同的模块支持不同的懒加载策略
|
||||
-- vim.api.nvim_create_autocmd({
|
||||
-- "InsertEnter", "CmdlineEnter", -- 补全/命令行
|
||||
-- "InsertEnter"
|
||||
-- }, {
|
||||
-- callback = function()
|
||||
-- PackUtils.load(P, function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue