mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
feat(profiling): added options to enable additional profiling
This commit is contained in:
parent
ce3e8523de
commit
423a152e94
6 changed files with 102 additions and 60 deletions
|
@ -118,7 +118,7 @@ function M.get_source()
|
|||
if not info then
|
||||
break
|
||||
end
|
||||
if info.what ~= "C" and not info.source:find("lazy.nvim", 1, true) then
|
||||
if info.what ~= "C" and not info.source:find("lazy.nvim", 1, true) and info.source ~= "@vim/loader.lua" then
|
||||
return info.source:sub(2)
|
||||
end
|
||||
f = f + 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue