Skip to content

Commit 6fb39b6

Browse files
authored
Change currentIndent to protected (#1620)
Allows overriding `pushIndent` / `popIndent` to change indention style in plugins
1 parent f3d4207 commit 6fb39b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LuaPrinter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export class LuaPrinter {
157157
};
158158
private static rightAssociativeOperators = new Set([lua.SyntaxKind.ConcatOperator, lua.SyntaxKind.PowerOperator]);
159159

160-
private currentIndent = "";
160+
protected currentIndent = "";
161161
protected luaFile: string;
162162
protected relativeSourcePath: string;
163163
protected options: CompilerOptions;

0 commit comments

Comments
 (0)