add zig and zls

This commit is contained in:
DaceKonn 2024-11-01 18:39:12 +01:00
parent 0a1df33611
commit dfd5db86b6
1 changed files with 4 additions and 1 deletions

View File

@ -585,7 +585,9 @@ require('lazy').setup({
-- But for many setups, the LSP (`tsserver`) will work just fine -- But for many setups, the LSP (`tsserver`) will work just fine
-- tsserver = {}, -- tsserver = {},
-- --
zls = {
cmd = { 'zls' },
},
lua_ls = { lua_ls = {
-- cmd = {...}, -- cmd = {...},
-- filetypes = { ...}, -- filetypes = { ...},
@ -669,6 +671,7 @@ require('lazy').setup({
end, end,
formatters_by_ft = { formatters_by_ft = {
lua = { 'stylua' }, lua = { 'stylua' },
zig = { 'zig fmt' },
-- Conform can also run multiple formatters sequentially -- Conform can also run multiple formatters sequentially
-- python = { "isort", "black" }, -- python = { "isort", "black" },
-- --