File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 99
1010local logger = {}
1111
12- --- @type fun ( any )
12+ --- @type fun ( ... )
1313function logger .trace (_ ) end
14- --- @type fun ( any )
14+ --- @type fun ( ... )
1515function logger .debug (_ ) end
16- --- @type fun ( any )
16+ --- @type fun ( ... )
1717function logger .info (_ ) end
18- --- @type fun ( any )
18+ --- @type fun ( ... )
1919function logger .warn (_ ) end
20- --- @type fun ( any )
20+ --- @type fun ( ... )
2121function logger .error (_ ) end
2222
2323local default_log_path = vim .fn .stdpath (" log" ) --[[ @as string]]
@@ -54,6 +54,7 @@ local function open_logfile()
5454 return false
5555 end
5656
57+ --- @diagnostic disable-next-line : undefined-field
5758 local log_info = vim .uv .fs_stat (logger .get_logfile ())
5859 if log_info and log_info .size > LARGE then
5960 local warn_msg =
You can’t perform that action at this time.
0 commit comments