Commit 590ecfc
outdent line following continue / break / return statements (#1050)
* outdent line following continue / break / return statements
Automatically outdenting lines following "continue", "break" or "return"
statements seems natural and consistent with other editors (e.g. emacs
or vim) behaviour.
* add word separator in regexp after keywords
This will avoid matching strings such as "returning". The
word should be matched as a word not as prefix.1 parent e2ca933 commit 590ecfc
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
89 | 93 | | |
90 | 94 | | |
91 | 95 | | |
| |||
0 commit comments