mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-07 16:04:35 +02:00
refactor: diag
This commit is contained in:
parent
4e52d31187
commit
b7bcac9c9d
2 changed files with 4 additions and 9 deletions
|
@ -7,9 +7,9 @@ return {
|
|||
"mason.nvim",
|
||||
{ "williamboman/mason-lspconfig.nvim", config = function() end },
|
||||
},
|
||||
---@class PluginLspOpts
|
||||
opts = function()
|
||||
return {
|
||||
---@class PluginLspOpts
|
||||
local ret = {
|
||||
-- options for vim.diagnostic.config()
|
||||
---@type vim.diagnostic.Opts
|
||||
diagnostics = {
|
||||
|
@ -114,6 +114,7 @@ return {
|
|||
-- ["*"] = function(server, opts) end,
|
||||
},
|
||||
}
|
||||
return ret
|
||||
end,
|
||||
---@param opts PluginLspOpts
|
||||
config = function(_, opts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue