From 61d13387970d334d9811d0cb935e9786e62987a4 Mon Sep 17 00:00:00 2001 From: "iced.wav" Date: Sat, 15 Feb 2025 11:07:27 +0100 Subject: [PATCH] Change currentIndent to protected Allows overriding `pushIndent` / `popIndent` to change indention style in plugins --- src/LuaPrinter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaPrinter.ts b/src/LuaPrinter.ts index 26ea7cc06..b0a02dfaf 100644 --- a/src/LuaPrinter.ts +++ b/src/LuaPrinter.ts @@ -157,7 +157,7 @@ export class LuaPrinter { }; private static rightAssociativeOperators = new Set([lua.SyntaxKind.ConcatOperator, lua.SyntaxKind.PowerOperator]); - private currentIndent = ""; + protected currentIndent = ""; protected luaFile: string; protected relativeSourcePath: string; protected options: CompilerOptions;