fix: lua-ls error
This commit is contained in:
parent
74d7afcc01
commit
ca8ba5ac9d
3 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue