add zig and zls
This commit is contained in:
parent
0a1df33611
commit
dfd5db86b6
5
init.lua
5
init.lua
|
@ -585,7 +585,9 @@ require('lazy').setup({
|
|||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||
-- tsserver = {},
|
||||
--
|
||||
|
||||
zls = {
|
||||
cmd = { 'zls' },
|
||||
},
|
||||
lua_ls = {
|
||||
-- cmd = {...},
|
||||
-- filetypes = { ...},
|
||||
|
@ -669,6 +671,7 @@ require('lazy').setup({
|
|||
end,
|
||||
formatters_by_ft = {
|
||||
lua = { 'stylua' },
|
||||
zig = { 'zig fmt' },
|
||||
-- Conform can also run multiple formatters sequentially
|
||||
-- python = { "isort", "black" },
|
||||
--
|
||||
|
|
Loading…
Reference in New Issue