File tree Expand file tree Collapse file tree 7 files changed +252
-2
lines changed
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/nix Expand file tree Collapse file tree 7 files changed +252
-2
lines changed Original file line number Diff line number Diff line change
1
+ languageId : nix
2
+ command :
3
+ version : 6
4
+ spokenForm : change value
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: value}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ {
16
+ foo = let
17
+ a = b;
18
+ c = d;
19
+ in
20
+ {
21
+ output = b;
22
+ };
23
+
24
+ }
25
+ selections :
26
+ - anchor : {line: 1, character: 7}
27
+ active : {line: 1, character: 7}
28
+ marks : {}
29
+ finalState :
30
+ documentContents : |
31
+ {
32
+ foo = ;
33
+
34
+ }
35
+ selections :
36
+ - anchor : {line: 1, character: 8}
37
+ active : {line: 1, character: 8}
Original file line number Diff line number Diff line change
1
+ languageId : nix
2
+ command :
3
+ version : 6
4
+ spokenForm : change value
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: value}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ {
16
+ foo = let
17
+ a = b;
18
+ c = d;
19
+ in
20
+ {
21
+ output = b;
22
+ };
23
+
24
+ }
25
+ selections :
26
+ - anchor : {line: 2, character: 4}
27
+ active : {line: 2, character: 4}
28
+ marks : {}
29
+ finalState :
30
+ documentContents : |
31
+ {
32
+ foo = let
33
+ a = ;
34
+ c = d;
35
+ in
36
+ {
37
+ output = b;
38
+ };
39
+
40
+ }
41
+ selections :
42
+ - anchor : {line: 2, character: 8}
43
+ active : {line: 2, character: 8}
Original file line number Diff line number Diff line change
1
+ languageId : nix
2
+ command :
3
+ version : 6
4
+ spokenForm : change value
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: value}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ {
16
+ foo = let
17
+ a = b;
18
+ c = d;
19
+ in
20
+ {
21
+ output = b;
22
+ };
23
+
24
+ }
25
+ selections :
26
+ - anchor : {line: 5, character: 5}
27
+ active : {line: 5, character: 5}
28
+ marks : {}
29
+ finalState :
30
+ documentContents : |
31
+ {
32
+ foo = ;
33
+
34
+ }
35
+ selections :
36
+ - anchor : {line: 1, character: 8}
37
+ active : {line: 1, character: 8}
Original file line number Diff line number Diff line change
1
+ languageId : nix
2
+ command :
3
+ version : 6
4
+ spokenForm : change value
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: value}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ {
16
+ foo = let
17
+ a = b;
18
+ c = d;
19
+ in
20
+ {
21
+ output = b;
22
+ };
23
+
24
+ }
25
+ selections :
26
+ - anchor : {line: 6, character: 13}
27
+ active : {line: 6, character: 13}
28
+ marks : {}
29
+ finalState :
30
+ documentContents : |
31
+ {
32
+ foo = let
33
+ a = b;
34
+ c = d;
35
+ in
36
+ {
37
+ output = ;
38
+ };
39
+
40
+ }
41
+ selections :
42
+ - anchor : {line: 6, character: 15}
43
+ active : {line: 6, character: 15}
Original file line number Diff line number Diff line change
1
+ languageId : nix
2
+ command :
3
+ version : 6
4
+ spokenForm : chuck value
5
+ action :
6
+ name : remove
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: value}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ {
16
+ foo = let
17
+ a = b;
18
+ c = d;
19
+ in
20
+ {
21
+ output = b;
22
+ };
23
+
24
+ }
25
+ selections :
26
+ - anchor : {line: 1, character: 7}
27
+ active : {line: 1, character: 7}
28
+ marks : {}
29
+ finalState :
30
+ documentContents : |
31
+ {
32
+ foo;
33
+
34
+ }
35
+ selections :
36
+ - anchor : {line: 1, character: 5}
37
+ active : {line: 1, character: 5}
Original file line number Diff line number Diff line change
1
+ languageId : nix
2
+ command :
3
+ version : 6
4
+ spokenForm : chuck value
5
+ action :
6
+ name : remove
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: value}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ {
16
+ foo = let
17
+ a = b;
18
+ c = d;
19
+ in
20
+ {
21
+ output = b;
22
+ };
23
+
24
+ }
25
+ selections :
26
+ - anchor : {line: 2, character: 4}
27
+ active : {line: 2, character: 4}
28
+ marks : {}
29
+ finalState :
30
+ documentContents : |
31
+ {
32
+ foo = let
33
+ a;
34
+ c = d;
35
+ in
36
+ {
37
+ output = b;
38
+ };
39
+
40
+ }
41
+ selections :
42
+ - anchor : {line: 2, character: 4}
43
+ active : {line: 2, character: 4}
Original file line number Diff line number Diff line change 21
21
[
22
22
(attrset_expression)
23
23
(rec_attrset_expression)
24
- ] @map @statement.iteration
24
+ ] @map @statement.iteration @value.iteration
25
25
(binding_set) @map.iteration @list.iteration @ifStatement.iteration
26
26
27
27
(source_code) @statement.iteration @map.iteration
34
34
;; !! in a + b
35
35
(let_expression
36
36
"let"
37
- (_) @statement.iteration
37
+ (_) @statement.iteration @value.iteration
38
38
)
39
39
40
40
(string_expression
83
83
(apply_expression) @functionCall
84
84
(formals) @argumentOrParameter.iteration
85
85
(formal) @argumentOrParameter
86
+
87
+ ;; !! a = 25;
88
+ ;; ! ^^
89
+ ;; ! xxxxx
90
+ ;; ! ------
91
+ (binding
92
+ (_) @_.leading.start.endOf
93
+ .
94
+ expression: (_) @value @_.leading.end.startOf
95
+ ) @_.domain
You can’t perform that action at this time.
0 commit comments