Skip to content

Conversation

@waddie96
Copy link
Contributor

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

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?
@waddie96 waddie96 changed the title .editorconfig: populate, revise template config file;bug: report space_around_table_append_operator property .editorconfig: populate, revise template config file. bug: report space_around_table_append_operator property Oct 25, 2025
max_line_length = 120
# Additional indent before block-start lines (if/for/while).
# {integer}
continuation_indent.before_block = 2
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

donot open the option for default

table_separator_style = none
# Additional indent for table constructor continuations.
# {integer}
continuation_indent.in_table = 4
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same issue


# Additional spaces when aligning multiline blocks.
# {integer}
align_continuous_line_space = 0
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

donot change default value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants