Skip to content

Commit

Permalink
fix to json library
Browse files Browse the repository at this point in the history
  • Loading branch information
Stella Kyun committed Jun 29, 2024
1 parent c46a158 commit 2f1e1f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/.config/awesome/json/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,7 @@ local function encode_value(self, value, parents, etc, options, indent, for_key)
end
local key_indent = indent .. tostring(options.indent or "")
local subtable_indent = key_indent .. string.rep(" ", max_key_length) .. (options.align_keys and " " or "")
local FORMAT = "%s%" .. string.format("%d", max_key_length) .. "s: %s"
local FORMAT = "%s%s: %s"

local COMBINED_PARTS = { }
for i, key in ipairs(object_keys) do
Expand Down

0 comments on commit 2f1e1f5

Please sign in to comment.