mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-10 02:31:48 +00:00
fixed pretty default config getting modified by parameters
This commit is contained in:
parent
67019de5b5
commit
65d06d01f6
@ -59,7 +59,7 @@ function pretty._process(input, config, processing_state)
|
|||||||
end
|
end
|
||||||
|
|
||||||
--pull out config
|
--pull out config
|
||||||
config = table.overlay(pretty.default_config, config or {})
|
config = table.overlay({}, pretty.default_config, config or {})
|
||||||
|
|
||||||
local per_line = config.per_line
|
local per_line = config.per_line
|
||||||
local depth = config.depth
|
local depth = config.depth
|
||||||
|
Loading…
Reference in New Issue
Block a user