summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp-client-edit.golden
blob: 02cc9a37679110b6b769ebeeebc4cd5612c102e8 (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,4
|Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Kill
|New Tty Find Grep Joincol
|  /tmp/pardes-snap/lsp-client-edit/cwd/main.rs * Save Tty Del Collapse
|     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
|
|
|
|
|
|
|
|
|
|
|
|
|  formatted 1 range(s)
== 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:
|24:
== snap renamed grid=100x25 cursor=12,5
|6:      4     let x = sum(1, 2);
|7:      5     let y = sum(3, 4);
|24:   renamed 2 range(s)
== snap unrenamed grid=100x25 cursor=12,5
|6:      4     let x = add(1, 2);
|7:      5     let y = add(3, 4);
|24: