EmmyLuaCodeStyle icon indicating copy to clipboard operation
EmmyLuaCodeStyle copied to clipboard

`.editorconfig`: populate, revise template config file. bug: report `space_around_table_append_operator` property

Open waddie96 opened this issue 3 weeks ago • 0 comments
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

waddie96 avatar Oct 25 '25 22:10 waddie96