EmmyLuaCodeStyle
EmmyLuaCodeStyle copied to clipboard
`.editorconfig`: populate, revise template config file. bug: report `space_around_table_append_operator` property
trafficstars
Updated the editorconfig for Lua to include detailed comments for all possible properties and their possible values. Unable to confirm the behaviour of a few of the properties?
Also found a bug with space_around_table_append_operator which has inverse logic to its description and what's expected:
# Controls spacing around table append operator
# e.g. if true then expect t[#t + 1] = 1
# {true|false}
# @FIXME INVERSE LOGIC.
# e.g. if true then expect t[#t + 1] = 1,
# instead of t[#t+1] = 1. Inverse occurs:
# ❌ if true, no space is added.
# ❌ if false, space is added.
space_around_table_append_operator = false