style: disabled stats debug

This commit is contained in:
Folke Lemaitre 2023-01-05 11:30:47 +01:00
parent c59c05c7a8
commit 847ef091fa
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ function M.disable()
if M.debug and vim.tbl_count(M.topmods) > 1 then
M.log(M.topmods, vim.log.levels.WARN, { title = "topmods" })
end
if M.debug then
if M.debug and false then
local stats = vim.deepcopy(M.stats)
stats.time = (stats.time or 0) / 1e6
stats.find.time = (stats.find.time or 0) / 1e6