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.
1 parent 7054ef7 commit 54905f6Copy full SHA for 54905f6
packages/cursorless-engine/src/languages/ruby.ts
@@ -6,7 +6,6 @@ import {
6
ancestorChainNodeMatcher,
7
argumentMatcher,
8
cascadingMatcher,
9
- conditionMatcher,
10
createPatternMatchers,
11
leadingMatcher,
12
matcher,
@@ -167,7 +166,6 @@ const nodeMatchers: Partial<
167
166
patternMatcher("lambda", "do_block"),
168
matcher(blockFinder),
169
),
170
- condition: conditionMatcher("*[condition]"),
171
argumentOrParameter: argumentMatcher(
172
"lambda_parameters",
173
"method_parameters",
queries/ruby.scm
@@ -95,3 +95,9 @@ operator: [
95
)
96
(#insertion-delimiter! @collectionItem " ")
97
98
+
99
+;;!! if true
100
+;;! ^^^^
101
+(_
102
+ condition: (_) @condition
103
+) @_.domain
0 commit comments