summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp-client-edit.golden
blob: 7943c40eae7a5c535a01506d2a051fd55a961b61 (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
46
== snap formatted grid=100x25 cursor=7,3
|  New Term                                  Find Grep Newcol Help Exit   ⋯ lsp rust-analyzer: ready
| */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Undo Del
|     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 }
|     ~
|
|
|
|
|
|
|
|
|
|
|
|
|
|  · /tmp/pardes-snap/lsp-client-edit/cwd/main.rs formatted 1 range(s)           1 message · SPC h m
== snap unformatted grid=100x25 cursor=7,2
|1:   /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Redo Del
|2:      1 mod lib;
|3:      2
|4:      3 fn main() {
|5:      4     let x = add(1, 2);
|6:      5     let y = add(3, 4);
|7:      6     let _ = x + y;
|8:      7 }
|9:      ~
|10:
== snap renamed grid=100x25 cursor=12,5
|1:  */tmp/pardes-snap/lsp-client-edit/cwd/main.rs Save Undo Del
|5:      4     let x = sum(1, 2);
|6:      5     let y = sum(3, 4);
|24:   · /tmp/pardes-snap/lsp-client-edit/cwd/main.rs renamed 2 range(s)            3 messages · SPC h m
== snap unrenamed grid=100x25 cursor=12,5
|1:   /tmp/pardes-snap/lsp-client-edit/cwd/main.rs Redo Del
|5:      4     let x = add(1, 2);
|6:      5     let y = add(3, 4);