File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
packages/cursorless-engine/src/languages Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -133,8 +133,6 @@ const ifStatementMatcher = matcher(ifStatementFinder);
133
133
const nodeMatchers : Partial <
134
134
Record < SimpleScopeTypeType , NodeMatcherAlternative >
135
135
> = {
136
- map : "map_lit" ,
137
-
138
136
collectionKey : matcher ( mapParityNodeFinder ( 0 ) ) ,
139
137
collectionItem : cascadingMatcher (
140
138
// Treat each key value pair as a single item if we're in a map
@@ -160,9 +158,6 @@ const nodeMatchers: Partial<
160
158
) ,
161
159
) ,
162
160
163
- // A list is either a vector literal or a quoted list literal
164
- list : [ "vec_lit" , "quoting_lit.list_lit" ] ,
165
-
166
161
functionCall : functionCallPattern ,
167
162
functionCallee : chainedMatcher ( [
168
163
functionCallFinder ,
Original file line number Diff line number Diff line change 1
1
(comment) @comment @textFragment
2
2
3
3
(str_lit) @string @textFragment
4
+
5
+ (map_lit) @map
6
+
7
+ ;; A list is either a vector literal or a quoted list literal
8
+ (vec_lit) @list
9
+ (quoting_lit
10
+ (list_lit)
11
+ ) @list
You can’t perform that action at this time.
0 commit comments