From 293cc8c1fb8020637f76043313585a42daf4808e Mon Sep 17 00:00:00 2001 From: Quan Date: Sun, 20 Mar 2022 00:32:57 +0800 Subject: [PATCH] Fix "static func" indent error (#279) --- configurations/gdscript-configuration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configurations/gdscript-configuration.json b/configurations/gdscript-configuration.json index 4ac4f06..d156363 100644 --- a/configurations/gdscript-configuration.json +++ b/configurations/gdscript-configuration.json @@ -23,7 +23,7 @@ ["{", "}"] ], "indentationRules": { - "increaseIndentPattern": "^\\s*((class|func|else|elif|for|if|match|while|enum)|(.*\\sdo\\b))\\b[^\\{;]*$", + "increaseIndentPattern": "^\\s*((class|static func|func|else|elif|for|if|match|while|enum)|(.*\\sdo\\b))\\b[^\\{;]*$", "decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(else|elif)\\b)" }, "folding": {