File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1281,7 +1281,7 @@ module.exports = grammar({
1281
1281
) ) ,
1282
1282
1283
1283
interpolated_string_expression : $ => seq (
1284
- $ . identifier ,
1284
+ field ( 'interpolator' , $ . identifier ) ,
1285
1285
$ . interpolated_string
1286
1286
) ,
1287
1287
Original file line number Diff line number Diff line change 23
23
(class_parameter
24
24
name: (identifier) @parameter)
25
25
26
-
27
26
(interpolation) @none
28
27
29
28
; ; types
33
32
34
33
(type_identifier) @type
35
34
36
-
37
35
; ; val/var definitions/declarations
38
36
39
37
(val_definition
78
76
79
77
; method invocation
80
78
81
-
82
79
(call_expression
83
80
function: (identifier) @function.call)
84
81
96
93
(generic_function
97
94
function: (identifier) @function.call)
98
95
96
+ (interpolated_string_expression
97
+ interpolator: (identifier) @function.call)
98
+
99
99
; function definitions
100
100
101
101
(function_definition
Original file line number Diff line number Diff line change @@ -54,5 +54,9 @@ object Hello {
54
54
type A = B [({ type f [x] = M [S , x] })# f]
55
55
// ^keyword
56
56
// ^type.definition
57
+
58
+ val hello = c " some $stuff"
59
+ // ^function.call
60
+ // ^punctuation.special
57
61
}
58
62
You can’t perform that action at this time.
0 commit comments