put setup inside opts

This commit is contained in:
thoxy 2023-10-16 18:08:50 +02:00 committed by Folke Lemaitre
parent 209bf2dcbe
commit 3aa2edc389

View file

@ -30,9 +30,7 @@ return {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
opts = { opts = {
servers = { servers = {
zls = {}, zls = {
},
},
setup = { setup = {
zls = function(_, opts) zls = function(_, opts)
local zig_tools_opts = require("lazyvim.util").opts("zig-tools.nvim") local zig_tools_opts = require("lazyvim.util").opts("zig-tools.nvim")
@ -41,6 +39,9 @@ return {
end, end,
}, },
}, },
},
},
},
{ {
"nvim-neotest/neotest", "nvim-neotest/neotest",
optional = true, optional = true,