Add Zig and LSPs working
This commit is contained in:
parent
a829e7516d
commit
3552958d36
|
@ -116,5 +116,10 @@ return {
|
|||
require("lspconfig")["pylsp"].setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
-- ZIG
|
||||
require("lspconfig")["zls"].setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -27,8 +27,12 @@ return {
|
|||
mason_lspconfig.setup({
|
||||
-- list of servers for mason to install
|
||||
ensure_installed = {
|
||||
"bashls",
|
||||
"clangd",
|
||||
"lua_ls",
|
||||
"ltex",
|
||||
"pyright",
|
||||
"zls",
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -275,6 +275,9 @@ return {
|
|||
["zls"] = function()
|
||||
lspconfig["zls"].setup({
|
||||
capabilities = capabilities,
|
||||
settings = {
|
||||
cmd = { "~/.local/bin/zls" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue