Skip to content

Commit

Permalink
fix: removes mystery argument to vim.json.encode (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
catgoose authored Jan 28, 2025
1 parent 39142aa commit 2933cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/colorizer/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2933cb5

Please sign in to comment.