Skip to content

Fails to format some escaped strings #83

@Rerumu

Description

@Rerumu

When I try to format code with the setting double_quote_to_single_quote set to true the formatting succeeds but breaks some escapes which cause unfinished string syntax errors.

Quick example:

local a = "\\"

Which incorrectly formats to:

local a = '\'

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