summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp.golden
blob: 6a53098e0e780e94aa975b0976ece49504fc04b4 (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
== 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=60,2
|2: ^ a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep ␣ l Symbols    1/3
|3:                                                 │ │ Walk Look Split Newcol Grep Edit Copy Keep Drop | Find Grep Recent P
|4:   anes Symbols All Jumplist
|5:   ▶ a.zig:1:7-9 std
|6:     a.zig:3:4-9 helper
|7:     a.zig:7:8-11 main
|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:   ✓ /tmp/pardes-snap/lsp/cwd/a.zig Symbols                                                         2 messages · SPC h m
== snap step grid=120x41 cursor=63,2
|2: ^ a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep ␣ l Symbols  jn   0/0
|5:     nothing matches
|6:
|7:
== snap nothing grid=120x41 cursor=65,2
|2: ^ a.zig:8 › /tmp/pardes-snap/lsp/cwd/a.zig Keep ␣ l Symbols  jngd   0/0