We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cb446ce + 1e4f5a0 commit 52eb8a6Copy full SHA for 52eb8a6
3 files changed
queries/gdscript.scm
@@ -21,6 +21,7 @@
21
(typed_parameter ":" @append_space)
22
(typed_default_parameter ":" @append_space)
23
(variable_statement ":" @append_space)
24
+(subscript_arguments "," @append_space)
25
26
; ARRAY AND DICTIONARY
27
; If the array is on a single line, only insert spaces between values. If it's
tests/expected/dictionaries.gd
@@ -9,3 +9,5 @@ var my_dictionary = { key = "value" }
9
var my_dictionary_2 = {
10
key = "value",
11
}
12
+
13
+var dict: Dictionary[int, int] = { }
tests/input/dictionaries.gd
@@ -8,3 +8,5 @@ var my_dictionary = {key = "value"}
8
# But only if it fits on one line
key = "value"}
+var dict: Dictionary[int,int] = {}
0 commit comments