Skip to content

Commit 631c508

Browse files
author
Kapil Borle
committed
Use editor.tabSize as indentationSize
1 parent e1e0dd7 commit 631c508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/DocumentFormatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
229229
case "PSUseConsistentIndentation":
230230
ruleProperty = `${rule} = @{
231231
Enable = \$true
232-
IndentationSize = ${settings.codeformatting.indentationSize}
232+
IndentationSize = ${vscode.workspace.getConfiguration("editor").get<number>("tabSize")}
233233
}`;
234234
break;
235235

0 commit comments

Comments
 (0)