all repos

gopher.nvim @ ef4a3a1c7a5f3ba8131115b7f8d8a55b2eeae42e

Minimalistic plugin for Go development
1 files changed, 2 insertions(+), 2 deletions(-)
fix: type annotation for logger
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-09-28 15:19:22 +0300
Change ID: yxrtnwqtspkzzqrnsvultkopomqlknvw
Parent: e8d5384
M lua/gopher/_utils/log.lua

@@ -3,7 +3,7 @@ -- and https://github.com/williamboman/mason.nvim

-- 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 @@ -- Can limit the number of decimals displayed for floats

float_precision = 0.01, } ----@type Gopher.Logger +---@type gopher.Logger ---@diagnostic disable-next-line: missing-fields local log = {}