There was an error while loading. Please reload this page.
1 parent c0b27c0 commit bc696a2Copy full SHA for bc696a2
news/1 Enhancements/3284.md
@@ -0,0 +1 @@
1
+Indent on enter after line continuations.
src/client/extension.ts
@@ -162,6 +162,10 @@ export async function activate(context: ExtensionContext): Promise<IExtensionApi
162
beforeText: /^\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async)\b.*:\s*/,
163
action: { indentAction: IndentAction.Indent }
164
},
165
+ {
166
+ beforeText: /^(?!\s+\\)[^#\n]+\\\s*/,
167
+ action: { indentAction: IndentAction.Indent }
168
+ },
169
{
170
beforeText: /^\s*#.*/,
171
afterText: /.+$/,
0 commit comments