CppCXY / EmmyLuaCodeStyle

fast, powerful, and feature-rich Lua formatting and checking tool.
MIT License
140 stars 27 forks source link

`space_before_inline_comment` is influenced by`align_continuous_inline_comment` #131

Closed HubertZhang closed 1 year ago

HubertZhang commented 1 year ago
  local a = {
--    b = {  -- aaa
++    b = { -- aaa
          "aaa"
      }
  }

with following config

[*.lua]
max_line_length = 300
align_continuous_inline_comment = false
space_before_inline_comment = 2
CppCXY commented 1 year ago

It's a bug, but not because of align

CppCXY commented 1 year ago

I'll see it tomorrow, this is presumably a matter of execution order