fix: lua-ls error

This commit is contained in:
Oleksandr Smirnov 2025-03-22 23:00:50 +02:00
parent 74d7afcc01
commit ca8ba5ac9d
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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

View file

@ -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