summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp.golden
blob: ba9eb781d0e646f8b6f88ced4c4dfd6a267ef877 (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
87
== 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=24,1
|1: ^ a.zig:8 › ␣ l Symbols                                                                                              1/3
|2:             │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist
|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:             │ │
|7:      1 const std = @import("std");
|8:      2
|9:      3▸fn helper(x: u32) u32 {
|10:          fn helper(x: u32) u32
|11:          (fn (u32) u32)
|12:      4     return x + 1;
|13:      5 }
|14:      6
|15:      7 pub fn main() void {
|16:      8     _ = helper(41);
|17:      9 }
|18:      ~
|40:   ⏎ lands here · its text is the preview · S-⏎ a new pane                                          2 messages · SPC h m
== snap step grid=120x41 cursor=27,1
|1: ^ a.zig:8 › ␣ l Symbols  jn                                                                                            0
|3:             │ │   nothing matches
|4:             │ │
|5:             │ │
|9:      3 fn helper(x: u32) u32 {
== snap nothing grid=120x41 cursor=29,1
|1: ^ a.zig:8 › ␣ l Symbols  jngd                                                                                          0