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)
|
function utils.notify(msg, lvl)
|
||||||
lvl = lvl or vim.log.levels.INFO
|
lvl = lvl or vim.log.levels.INFO
|
||||||
vim.notify(msg, lvl, {
|
vim.notify(msg, lvl, {
|
||||||
|
---@diagnostic disable-next-line:undefined-field
|
||||||
title = c.___plugin_name,
|
title = c.___plugin_name,
|
||||||
})
|
})
|
||||||
log.debug(msg)
|
log.debug(msg)
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ local c = require "gopher.config"
|
||||||
|
|
||||||
local config = {
|
local config = {
|
||||||
-- Name of the plugin. Prepended to log messages
|
-- Name of the plugin. Prepended to log messages
|
||||||
|
---@diagnostic disable-next-line:undefined-field
|
||||||
name = c.___plugin_name,
|
name = c.___plugin_name,
|
||||||
|
|
||||||
-- Should print the output to neovim while running
|
-- Should print the output to neovim while running
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
---@type gopher.Config
|
|
||||||
---@dochide
|
|
||||||
local config = {}
|
local config = {}
|
||||||
|
|
||||||
---@tag gopher.nvim-config.ConfigGoTagTransform
|
---@tag gopher.nvim-config.ConfigGoTagTransform
|
||||||
|
|
@ -107,6 +105,6 @@ setmetatable(config, {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
---@return gopher.Config
|
|
||||||
---@dochide
|
---@dochide
|
||||||
|
---@return gopher.Config
|
||||||
return config
|
return config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue