fix(scripts): default mappings should put a comma at the end of each line
This commit is contained in:
parent
522bde4ea5
commit
08ab346f03
@ -77,7 +77,7 @@ io.close(file)
|
|||||||
-- lua
|
-- lua
|
||||||
file = io.open("/tmp/DEFAULT_MAPPINGS.lua", "w")
|
file = io.open("/tmp/DEFAULT_MAPPINGS.lua", "w")
|
||||||
io.output(file)
|
io.output(file)
|
||||||
fmt = string.format(" { %%-%d.%ds %%s }\n", max_key_lua, max_key_lua)
|
fmt = string.format(" { %%-%d.%ds %%s },\n", max_key_lua, max_key_lua)
|
||||||
for _, m in pairs(outs_lua) do
|
for _, m in pairs(outs_lua) do
|
||||||
io.write(string.format(fmt, m.key, m.action))
|
io.write(string.format(fmt, m.key, m.action))
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user