mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-24 17:58:55 +02:00
feat(profile): added accurate startuptime to ui/stats/docs
This commit is contained in:
parent
d1739cb7e1
commit
a2fdf369f2
6 changed files with 103 additions and 11 deletions
|
@ -126,6 +126,7 @@ function M.update()
|
|||
config = config:gsub("%s*debug = false.\n", "\n")
|
||||
M.save({
|
||||
bootstrap = M.extract("lua/lazy/init.lua", "function M%.bootstrap%(%)\n(.-)\nend"),
|
||||
stats = M.extract("lua/lazy/stats.lua", "\nM%._stats = ({.-\n})"),
|
||||
config = config,
|
||||
spec = Util.read_file("lua/lazy/example.lua"),
|
||||
commands = M.commands(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue