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