mirror of
https://github.com/norcalli/nvim-colorizer.lua.git
synced 2026-09-10 07:06:14 -04:00
fix: removes mystery argument to vim.json.encode (#140)
This commit is contained in:
parent
39142aa139
commit
2933cb5b54
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue