summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp.golden
blob: 9d733defd86c6b5c4368234c2a4becbfc22fcc12 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
== snap opened grid=120x41 cursor=7,2
|  New Term                                                                                  Find Grep Newcol Help Exit
|  /tmp/pardes-snap/lsp/cwd/a.zig Keep Del
|     1 const std = @import("std");
|     2
|     3 fn helper(x: u32) u32 {
|     4     return x + 1;
|     5 }
|     6
|     7 pub fn main() void {
|     8     _ = helper(41);
|     9 }
|     ~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|  /tmp/pardes-snap/lsp/cwd/a.zig:1
== snap cursor grid=120x41 cursor=17,9
|40:   /tmp/pardes-snap/lsp/cwd/a.zig:8
== snap definition grid=120x41 cursor=15,4
|0:   New Term                                      Find Grep Newcol Help Exit   ⋯ lsp zls ready — /tmp/pardes-snap/lsp/cwd
|1:   a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep Del
|40:   /tmp/pardes-snap/lsp/cwd/a.zig:3
== snap hover grid=120x41 cursor=15,4
|5:          fn helper(x: u32) u32
|6:          (fn (u32) u32)
|7:      4     return x + 1;
|8:      5 }
|9:      6
|10:      7 pub fn main() void {
|11:      8     _ = helper(41);
|12:      9 }
|13:      ~
|40:   ✓ /tmp/pardes-snap/lsp/cwd/a.zig Hover                                                            1 message · SPC h m
== snap symbols grid=120x41 cursor=14,2
|1: ^ a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep Del
|2:   ␣ l Symbols                                                                                              1/3  M-l acts
|3:   │ │ ▶ a.zig:3:4-9  f helper
|4:   │ │   a.zig:7:8-11 f main
|5:   │ │   a.zig:1:7-9  c std
|6:      1 const std = @import("std");
|7:      2
|8:      3▸fn helper(x: u32) u32 {
|9:          fn helper(x: u32) u32
|10:          (fn (u32) u32)
|11:      4     return x + 1;
|12:      5 }
|13:      6
|14:      7 pub fn main() void {
|15:      8     _ = helper(41);
|16:      9 }
|17:      ~
|40:   ⏎ lands here · its text is the preview · S-⏎ a new pane                                          2 messages · SPC h m
== snap step grid=120x41 cursor=17,2
|2:   ␣ l Symbols  jn                                                                                            0  M-l acts
|3:   │ │   nothing matches
|4:   │ │
|5:   │ │
|8:      3 fn helper(x: u32) u32 {
== snap nothing grid=120x41 cursor=19,2
|2:   ␣ l Symbols  jngd                                                                                          0  M-l acts