mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
refactor(lua): consistent use of local aliases
This commit is contained in:
committed by
Christian Clason
parent
a33284c2c0
commit
c10e36fc01
@@ -458,7 +458,7 @@ end
|
||||
--- @return F
|
||||
local function track(stat, f)
|
||||
return function(...)
|
||||
local start = vim.uv.hrtime()
|
||||
local start = uv.hrtime()
|
||||
local r = { f(...) }
|
||||
stats[stat] = stats[stat] or { total = 0, time = 0 }
|
||||
stats[stat].total = stats[stat].total + 1
|
||||
|
||||
Reference in New Issue
Block a user