Fix entry offset calculation

This commit is contained in:
hrsh7th
2021-08-17 16:25:19 +09:00
parent 29ad715924
commit dbed9f4f58
2 changed files with 3 additions and 3 deletions

View File

@@ -1,11 +1,11 @@
local debug = {}
local flag = false
debug.flag = false
---Print log
---@vararg any
debug.log = function(...)
if flag then
if debug.flag then
local data = {}
for _, v in ipairs({ ... }) do
if not vim.tbl_contains({ 'string', 'number', 'boolean' }, type(v)) then