We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 924d277 commit ebaf8c8Copy full SHA for ebaf8c8
editors/code/src/config.ts
@@ -99,7 +99,8 @@ export class Config {
99
let onEnterRules: vscode.OnEnterRule[] = [
100
{
101
// Carry indentation from the previous line
102
- beforeText: /^\s*$/,
+ // if it's only whitespace
103
+ beforeText: /^\s+$/,
104
action: { indentAction: vscode.IndentAction.None },
105
},
106
0 commit comments