Skip to content

bug: align_array_table = contain_curly breaks if the table contains "ḉ" #223

Description

@javalsai

Likely also happens for other values of align_array_table.

So for cases like:

local a = {
  { 'a',      'b'     },
  { 'aaaaaa', 'bbbbb' },
}

local b = {
  { '', 'b' },
  { 'aaaaaa', 'bbbbb' },
}

The formatter produces that output instead of aligning the second table too.

Forcing the spacing causes the formatter to trigger a multiple spaces check.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions