Skip to content

Commit dfd5db8

Browse files
committed
add zig and zls
1 parent 0a1df33 commit dfd5db8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

init.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,9 @@ require('lazy').setup({
585585
-- But for many setups, the LSP (`tsserver`) will work just fine
586586
-- tsserver = {},
587587
--
588-
588+
zls = {
589+
cmd = { 'zls' },
590+
},
589591
lua_ls = {
590592
-- cmd = {...},
591593
-- filetypes = { ...},
@@ -669,6 +671,7 @@ require('lazy').setup({
669671
end,
670672
formatters_by_ft = {
671673
lua = { 'stylua' },
674+
zig = { 'zig fmt' },
672675
-- Conform can also run multiple formatters sequentially
673676
-- python = { "isort", "black" },
674677
--

0 commit comments

Comments
 (0)