File tree Expand file tree Collapse file tree 2 files changed +27
-4
lines changed
packages/cursorless-engine/src/languages Expand file tree Collapse file tree 2 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ const nodeMatchers: Partial<
4848 ] ,
4949 [ ":" ] ,
5050 ) ,
51- value : leadingMatcher (
52- [ "*[value]" , "*[default_value]" , "type_definition[type]" ] ,
53- [ "=" ] ,
54- ) ,
51+ // value: leadingMatcher(
52+ // ["*[value]", "*[default_value]", "type_definition[type]"],
53+ // ["="],
54+ // ),
5555
5656 // Scala features unsupported in Cursorless terminology
5757 // - Pattern matching
Original file line number Diff line number Diff line change 5454 )
5555) @_.domain
5656
57+ ;; !! type Vector = (Int, Int)
58+ ;; ! ^^^^^^^^^^
59+ (type_definition
60+ name: (_) @_.leading.endOf
61+ type: (_) @value
62+ ) @_.domain
63+
64+ ;; !! class Example(foo: String = "foo") {}
65+ ;; ! ^^^^^
66+ (_
67+ (_) @_.leading.endOf
68+ .
69+ default_value: (_) @value
70+ ) @_.domain
71+
72+ ;; !! val bar = "bar"
73+ ;; ! ^^^^^
74+ (_
75+ (_) @_.leading.endOf
76+ .
77+ value: (_) @value
78+ ) @_.domain
79+
5780operator: (operator_identifier) @disqualifyDelimiter
5881(enumerator
5982 "<-" @disqualifyDelimiter
You can’t perform that action at this time.
0 commit comments