Skip to content

space_before_inline_comment = keep replaces tab with space #213

@Slackluster

Description

@Slackluster

When using space_before_inline_comment = keep with an in-line comment of the following style:
local itemID = C_Item.GetItemInfoInstant(itemString) -- Test where the comment is preceded by a tab, the formatter replaces the tab with a space.
I do also have indent_style = tab set, but this does not affect the formatting.

Expected behaviour for keep would be for the formatter to keep the spacing as it is, regardless of if the spacing is made up of tabs or spaces, or to respect indent_style.

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