@@ -0,0 +1,4 @@
+{
+ "useTabs": false,
+ "tabWidth": 4
+}
@@ -220,6 +220,9 @@
{
"include": "#keywords"
},
+ {
+ "include": "#control_flow"
+ },
"include": "#function-call"
@@ -155,6 +155,30 @@ export(test_enum) var enum_variable = test_enum.VALUE_1
# ------------------------------------------------------------------------------
+func if_test():
+ var some_bool := true
+
+ while some_bool:
+ pass
+ while (some_bool):
+ if some_bool:
+ return some_bool
+ if (some_bool):
+ return (some_bool)
+ elif !some_bool:
+ return !some_bool
+ elif !(some_bool):
+ return !(some_bool)
+ elif (some_bool):
+ else:
+# ------------------------------------------------------------------------------
class InnerClass:
var some_var = 100
var dict = {