mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix(loader): source filetype.lua before plugins. Fixes #35
This commit is contained in:
parent
9d12cdcc06
commit
ffcd0ab7bb
2 changed files with 8 additions and 0 deletions
|
@ -242,6 +242,7 @@ function M:reason(reason, opts)
|
|||
reason.runtime = reason.runtime:gsub(".*/([^/]+/plugin/.*)", "%1")
|
||||
reason.runtime = reason.runtime:gsub(".*/([^/]+/after/.*)", "%1")
|
||||
reason.runtime = reason.runtime:gsub(".*/([^/]+/ftdetect/.*)", "%1")
|
||||
reason.runtime = reason.runtime:gsub(".*/(runtime/.*)", "%1")
|
||||
end
|
||||
local time = reason.time and (" " .. math.floor(reason.time / 1e6 * 100) / 100 .. "ms")
|
||||
if time and not opts.time_right then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue