Skip to content

Don't remove trailing whitespace when part of a string #220

Description

@antinomie8

Thanks for your work !
Let's say I have a multiline string with trailing whitespace at the end of lines:

local str = [[
blah             
                  
]]

The formatter will remove the trailing spaces, which is not a desirable behavior since it will change the actual contents of the string.

Activity

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

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