File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed
packages/cursorless-engine/src/languages Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ const nodeMatchers: Partial<
160160 1 ,
161161 ) ,
162162 ) ,
163- functionName : [ "method[name]" , "singleton_method[name]" ] ,
164163 anonymousFunction : cascadingMatcher (
165164 patternMatcher ( "lambda" , "do_block" ) ,
166165 matcher ( blockFinder ) ,
@@ -173,13 +172,6 @@ const nodeMatchers: Partial<
173172 "argument_list" ,
174173 ) ,
175174 collectionKey : trailingMatcher ( [ "pair[key]" ] , [ ":" ] ) ,
176- name : [
177- "assignment[left]" ,
178- "operator_assignment[left]" ,
179- "class[name]" ,
180- "method[name]" ,
181- "singleton_method[name]" ,
182- ] ,
183175 value : leadingMatcher (
184176 [
185177 "pair[value]" ,
Original file line number Diff line number Diff line change 3636 (string_content)
3737 (heredoc_content)
3838] @textFragment
39+
40+ (class
41+ name: (_) @name
42+ ) @_.domain
43+
44+ (method
45+ name: (_) @functionName @name
46+ ) @_.domain
47+ (singleton_method
48+ name: (_) @functionName @name
49+ ) @_.domain
50+
51+ (assignment
52+ left: (_) @name
53+ ) @_.domain
54+ (operator_assignment
55+ left: (_) @name
56+ ) @_.domain
You can’t perform that action at this time.
0 commit comments