diff --git a/lua/gopher/_utils/init.lua b/lua/gopher/_utils/init.lua index 2a5e987..1a0ce75 100644 --- a/lua/gopher/_utils/init.lua +++ b/lua/gopher/_utils/init.lua @@ -7,6 +7,7 @@ local utils = {} function utils.notify(msg, lvl) lvl = lvl or vim.log.levels.INFO vim.notify(msg, lvl, { + ---@diagnostic disable-next-line:undefined-field title = c.___plugin_name, }) log.debug(msg) diff --git a/lua/gopher/_utils/log.lua b/lua/gopher/_utils/log.lua index 9c22a4e..1c77369 100644 --- a/lua/gopher/_utils/log.lua +++ b/lua/gopher/_utils/log.lua @@ -18,6 +18,7 @@ local c = require "gopher.config" local config = { -- Name of the plugin. Prepended to log messages + ---@diagnostic disable-next-line:undefined-field name = c.___plugin_name, -- Should print the output to neovim while running diff --git a/lua/gopher/config.lua b/lua/gopher/config.lua index c766a19..815b14b 100644 --- a/lua/gopher/config.lua +++ b/lua/gopher/config.lua @@ -1,5 +1,3 @@ ----@type gopher.Config ----@dochide local config = {} ---@tag gopher.nvim-config.ConfigGoTagTransform @@ -107,6 +105,6 @@ setmetatable(config, { end, }) ----@return gopher.Config ---@dochide +---@return gopher.Config return config