mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
33 lines
551 B
Lua
33 lines
551 B
Lua
|
return {
|
||
|
recommended = function()
|
||
|
return LazyVim.extras.wants({
|
||
|
ft = { "zig", "zir" },
|
||
|
root = { "zls.json", "build.zig" },
|
||
|
})
|
||
|
end,
|
||
|
{
|
||
|
"nvim-treesitter/nvim-treesitter",
|
||
|
opts = { ensure_installed = { "zig" } },
|
||
|
},
|
||
|
{
|
||
|
"neovim/nvim-lspconfig",
|
||
|
opts = {
|
||
|
servers = {
|
||
|
zls = {},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
"nvim-neotest/neotest",
|
||
|
optional = true,
|
||
|
dependencies = {
|
||
|
"lawrence-laz/neotest-zig",
|
||
|
},
|
||
|
opts = {
|
||
|
adapters = {
|
||
|
["neotest-zig"] = {},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|