LazyVim.LazyVim/lua/lazyvim/plugins/extras/lang/zig.lua

33 lines
551 B
Lua
Raw Normal View History

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"] = {},
},
},
},
}