vscode-lua icon indicating copy to clipboard operation
vscode-lua copied to clipboard

Don't break lines when declaring a string

Open vitorbertolucci opened this issue 5 years ago • 0 comments

The formatter is breaking lines of string declarations such as:

context[LANG_EN][2] =
    "Wow! It's your first time at otPiece, isn't it? First of all, you need to learn how to talk to NPCs. To do this, approach one and click on it with the right button."

It doesn't feel good... And changing the line width setting affects all other great formats the extension provides. It would be nice to have a setting for preventing it.

vitorbertolucci avatar Jul 06 '19 12:07 vitorbertolucci