summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp-rename.golden
blob: e21228e4fd2885013c3cbfaa3077ea79bb67791e (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
== snap renamed grid=110x24 cursor=17,9
|New Newcol Joincol Find Grep Help Changelog Tutor Dump NextColor Debug Kill
|  /tmp/pardes-snap/lsp-rename/cwd/rename.zig *                           Save New Newtty Del
|     1 const std = @import("std");
|     2
|     3 fn renamed_helper(x: u32) u32 {
|     4     return x + 1;
|     5 }
|     6
|     7 pub fn main() void {
|     8     _ = renamed_helper(41);
|     9 }
|    10
|    11 fn shadowed() void {
|    12     const helper: u32 = 7;
|    13     _ = helper;
|    14 }
|    15
== snap undone grid=110x24 cursor=17,9
|4:      3 fn helper(x: u32) u32 {
|9:      8     _ = helper(41);
== snap redone grid=110x24 cursor=17,9
|4:      3 fn renamed_helper(x: u32) u32 {
|9:      8     _ = renamed_helper(41);