You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the built-in Lua support in vscode has the same issue:
localx= {
end_="don't indent me!"
}
For the time being, I don't know how we should fix this.
One solution could be to disable automatic indentation inside certain constructs. I think we would have to bypass vscode's indentation rules feature, and run custom indentation code whenever the user presses the Enter key. Maybe this project could be used as a reference: https://github.com/kaiwood/vscode-endwise
Example:
Here, the
end_
parameter has to be reindented manually.The text was updated successfully, but these errors were encountered: