mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
put setup inside opts
This commit is contained in:
parent
209bf2dcbe
commit
3aa2edc389
1 changed files with 9 additions and 8 deletions
|
|
@ -30,16 +30,17 @@ return {
|
|||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
zls = {},
|
||||
zls = {
|
||||
setup = {
|
||||
zls = function(_, opts)
|
||||
local zig_tools_opts = require("lazyvim.util").opts("zig-tools.nvim")
|
||||
require("zig-tools").setup(vim.tbl_deep_extend("force", zig_tools_opts or {}, { server = opts }))
|
||||
return true
|
||||
end,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
setup = {
|
||||
zls = function(_, opts)
|
||||
local zig_tools_opts = require("lazyvim.util").opts("zig-tools.nvim")
|
||||
require("zig-tools").setup(vim.tbl_deep_extend("force", zig_tools_opts or {}, { server = opts }))
|
||||
return true
|
||||
end,
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue