trixnz / vscode-lua

Intellisense and Linting for Lua in VSCode
MIT License
116 stars 27 forks source link

Don't break lines when declaring a string #73

Open vitorbertolucci opened 5 years ago

vitorbertolucci commented 5 years ago

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.