From ef4a3a1c7a5f3ba8131115b7f8d8a55b2eeae42e Mon Sep 17 00:00:00 2001 From: Oleksandr Smirnov Date: Thu, 18 Sep 2025 18:27:09 +0300 Subject: [PATCH] fix: type annotation for logger --- lua/gopher/_utils/log.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/gopher/_utils/log.lua b/lua/gopher/_utils/log.lua index 1c77369..105f53a 100644 --- a/lua/gopher/_utils/log.lua +++ b/lua/gopher/_utils/log.lua @@ -3,7 +3,7 @@ -- for the code i have stolen(or have inspected by idk) local c = require "gopher.config" ----@class Gopher.Logger +---@class gopher.Logger ---@field get_outfile fun():string ---@field trace fun(...) ---@field fmt_trace fun(...) @@ -44,7 +44,7 @@ local config = { float_precision = 0.01, } ----@type Gopher.Logger +---@type gopher.Logger ---@diagnostic disable-next-line: missing-fields local log = {}