fix: removes mystery argument to vim.json.encode (#140)

This commit is contained in:
Meow Honk 2025-01-28 06:39:15 -06:00 committed by GitHub
parent 39142aa139
commit 2933cb5b54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -235,7 +235,7 @@ end
--- Returns sha256 hash of lua table
---@param tbl table: Table to be hashed
function M.hash_table(tbl)
local json_string = vim.json.encode(tbl, { sort_keys = true })
local json_string = vim.json.encode(tbl)
return vim.fn.sha256(json_string)
end