File tree Expand file tree Collapse file tree 2 files changed +33
-24
lines changed
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/nix Expand file tree Collapse file tree 2 files changed +33
-24
lines changed Original file line number Diff line number Diff line change
1
+ languageId : nix
2
+ command :
3
+ version : 6
4
+ spokenForm : change funk name
5
+ action :
6
+ name : clearAndSetSelection
7
+ target :
8
+ type : primitive
9
+ modifiers :
10
+ - type : containingScope
11
+ scopeType : {type: functionName}
12
+ usePrePhraseSnapshot : true
13
+ initialState :
14
+ documentContents : |
15
+ {
16
+ x = a: b: a + b;
17
+ }
18
+ selections :
19
+ - anchor : {line: 1, character: 16}
20
+ active : {line: 1, character: 16}
21
+ marks : {}
22
+ finalState :
23
+ documentContents : |
24
+ {
25
+ = a: b: a + b;
26
+ }
27
+ selections :
28
+ - anchor : {line: 1, character: 2}
29
+ active : {line: 1, character: 2}
Original file line number Diff line number Diff line change @@ -14,37 +14,17 @@ command:
14
14
initialState :
15
15
documentContents : |
16
16
{
17
- # Anonymous function
18
- a = foo: (foo + 1);
19
17
x = a: b: a + b;
20
-
21
- # Non-built-in function
22
- ba = test( foo: bar: {
23
- b = foo;
24
- });
25
-
26
- # Built-in function
27
- x = map (x: y: x + x) [ 1 2 3 ];
28
18
}
29
19
selections :
30
- - anchor : {line: 3 , character: 16}
31
- active : {line: 3 , character: 16}
20
+ - anchor : {line: 1 , character: 16}
21
+ active : {line: 1 , character: 16}
32
22
marks : {}
33
23
finalState :
34
24
documentContents : |
35
25
{
36
- # Anonymous function
37
- a = foo: (foo + 1);
38
26
x = ;
39
-
40
- # Non-built-in function
41
- ba = test( foo: bar: {
42
- b = foo;
43
- });
44
-
45
- # Built-in function
46
- x = map (x: y: x + x) [ 1 2 3 ];
47
27
}
48
28
selections :
49
- - anchor : {line: 3 , character: 6}
50
- active : {line: 3 , character: 6}
29
+ - anchor : {line: 1 , character: 6}
30
+ active : {line: 1 , character: 6}
You can’t perform that action at this time.
0 commit comments