add zig stuff

This commit is contained in:
Jacob Bohanon
2024-07-01 16:40:16 -04:00
parent b6689da485
commit 8ffa24ce52
7 changed files with 240 additions and 5 deletions

View File

@@ -99,3 +99,13 @@ require('lspconfig')['lua_ls'].setup {
Lua = {}
}
}
require('lspconfig')['zls'].setup {
on_attach = on_attach,
capabilities = capabilities,
cmd = { '/home/jacob/src/github.com/zigtools/zls/zig-out/bin/zls' },
settings = {
zls = {
zig_exe_path = '/home/jacob/.zig/zig/zig',
}
}
}