summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp.golden
blob: c680700d3c0c78e7b26a64775a0a2aac2003f0fd (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,3
|  Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config History Debug Exit
|  New Term Find Grep Joincol Delcol
|  /tmp/pardes-snap/lsp/cwd/a.zig Keep Save Term Collapse Follow TreeContext Def Refs 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,10
|40:   /tmp/pardes-snap/lsp/cwd/a.zig:8
== snap definition grid=120x41 cursor=15,5
|2:   a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep Save Term Collapse Follow TreeContext Def Refs Del
|40:   /tmp/pardes-snap/lsp/cwd/a.zig:3
== snap hover grid=120x41 cursor=15,5
|6:          fn helper(x: u32) u32
|7:          (fn (u32) u32)
|8:      4     return x + 1;
|9:      5 }
|10:      6
|11:      7 pub fn main() void {
|12:      8     _ = helper(41);
|13:      9 }
|14:      ~
|40:   ✓ /tmp/pardes-snap/lsp/cwd/a.zig Hover                                                            1 message · SPC h m
== snap symbols grid=120x41 cursor=24,2
|2: ^ a.zig:8 › ␣ l Symbols                                                                                              1/3
|3:             │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent Panes Symbols All Jumplist
|4:             │ │ ▶ a.zig:1:7-9  std
|5:             │ │   a.zig:3:4-9  helper
|6:             │ │   a.zig:7:8-11 main
|7:             │ │
|8:      1▸const std = @import("std");
|9:      2
|10:      3 fn helper(x: u32) u32 {
|11:          fn helper(x: u32) u32
|12:          (fn (u32) u32)
|13:      4     return x + 1;
|14:      5 }
|15:      6
|16:      7 pub fn main() void {
|17:      8     _ = helper(41);
|18:      9 }
|19:      ~
|40:   ⏎ lands here · its text is the preview · S-⏎ a new pane                                          2 messages · SPC h m
== snap step grid=120x41 cursor=27,2
|2: ^ a.zig:8 › ␣ l Symbols  jn                                                                                            0
|4:             │ │   nothing matches
|5:             │ │
|6:             │ │
|8:      1 const std = @import("std");
== snap nothing grid=120x41 cursor=29,2
|2: ^ a.zig:8 › ␣ l Symbols  jngd                                                                                          0