Skip to content

Conversation

smarter
Copy link
Member

@smarter smarter commented Sep 20, 2019

smarter and others added 4 commits September 23, 2019 13:36
- do not auto-indent after end marker (fixes scala#7274)
- auto-indent after `if ...` as long as it doesn't match `if ... then
  ...` in anticipation of scala#7276
- use lazy matching (`.*?` instead of `.*`) when possible to avoid
  backtracking explosion.
Auto-unindent completed `end` folowed by `while`, `for`, `match`, `try`, `if`
@smarter smarter merged commit ac4e8b9 into scala:master Sep 23, 2019
@smarter smarter deleted the vscode-end-marker branch September 23, 2019 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VScode: erroneous indentation after end marker
2 participants