summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp-client-edit.golden
blob: 54c6e08386607b9d205df6f5e647b6cc87ad1fb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
== snap formatted grid=100x25 cursor=7,5
|Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Kill
|   New Tty Find Grep Joincol Delcol
|   /tmp/pardes-snap/lsp-client-edit/cwd/main.rs * Save Tty Collapse Del TreeContext
|                                                                                formatted 1 range(s)
|     1 // formatted by mock
|     2 mod lib;
|     3
|     4 fn main() {
|     5     let x = add(1, 2);
|     6     let y = add(3, 4);
|     7     let _ = x + y;
|     8 }
|     9
== snap unformatted grid=100x25 cursor=7,3
|3:      1 mod lib;
|4:      2
|5:      3 fn main() {
|6:      4     let x = add(1, 2);
|7:      5     let y = add(3, 4);
|8:      6     let _ = x + y;
|9:      7 }
|10:      8
|11:
|12:
== snap renamed grid=100x25 cursor=12,6
|3:                                                                                   renamed 2 range(s)
|4:      1 mod lib;
|5:      2
|6:      3 fn main() {
|7:      4     let x = sum(1, 2);
|8:      5     let y = sum(3, 4);
|9:      6     let _ = x + y;
|10:      7 }
|11:      8
== snap unrenamed grid=100x25 cursor=12,5
|3:      1 mod lib;
|4:      2
|5:      3 fn main() {
|6:      4     let x = add(1, 2);
|7:      5     let y = add(3, 4);
|8:      6     let _ = x + y;
|9:      7 }
|10:      8
|11: