fix: Indent after pressing enter on a blank line
This commit is contained in:
parent
924d277f32
commit
ebaf8c8135
@ -99,7 +99,8 @@ export class Config {
|
||||
let onEnterRules: vscode.OnEnterRule[] = [
|
||||
{
|
||||
// Carry indentation from the previous line
|
||||
beforeText: /^\s*$/,
|
||||
// if it's only whitespace
|
||||
beforeText: /^\s+$/,
|
||||
action: { indentAction: vscode.IndentAction.None },
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user