mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
refactor: merge plugin & state in one file
This commit is contained in:
parent
fe33e4e3dd
commit
3e8fbaffba
6 changed files with 269 additions and 271 deletions
|
@ -23,7 +23,7 @@ function M.setup(opts)
|
|||
local Util = require("lazy.core.util")
|
||||
local Config = require("lazy.core.config")
|
||||
local Loader = require("lazy.core.loader")
|
||||
local State = require("lazy.core.state")
|
||||
local Plugin = require("lazy.core.plugin")
|
||||
|
||||
Util.track("cache.setup", module_start - cache_start)
|
||||
Util.track("module.setup", require_start - module_start)
|
||||
|
@ -36,7 +36,7 @@ function M.setup(opts)
|
|||
Util.track()
|
||||
|
||||
Util.track("state")
|
||||
State.load()
|
||||
Plugin.load()
|
||||
Util.track()
|
||||
|
||||
Util.track("install")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue