Add Zig and LSPs working

This commit is contained in:
Eduardo Cueto-Mendoza 2025-01-12 10:59:24 +00:00
parent a829e7516d
commit 3552958d36
Signed by: TastyPancakes
GPG Key ID: 941DF56C7242C3F1
3 changed files with 12 additions and 0 deletions

View File

@ -116,5 +116,10 @@ return {
require("lspconfig")["pylsp"].setup({
capabilities = capabilities,
})
-- ZIG
require("lspconfig")["zls"].setup({
capabilities = capabilities,
})
end,
}

View File

@ -27,8 +27,12 @@ return {
mason_lspconfig.setup({
-- list of servers for mason to install
ensure_installed = {
"bashls",
"clangd",
"lua_ls",
"ltex",
"pyright",
"zls",
},
})

View File

@ -275,6 +275,9 @@ return {
["zls"] = function()
lspconfig["zls"].setup({
capabilities = capabilities,
settings = {
cmd = { "~/.local/bin/zls" },
},
})
end,
})