summaryrefslogtreecommitdiff
path: root/nvim/.config
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2022-02-08 20:18:55 -0600
committerBobby Bingham <koorogi@koorogi.info>2022-02-08 20:18:55 -0600
commite3a2413d3cfb09db87db00deb6ed7ec647ffd7c9 (patch)
tree7dcf68a96df08204de88c9ca68570acf93f0fe91 /nvim/.config
parentad156d76ea249dc5886cffba289a2bd849fe4db4 (diff)
nvim: language server for zig
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/lua/lsp_config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/.config/nvim/lua/lsp_config.lua b/nvim/.config/nvim/lua/lsp_config.lua
index f3f95a7..b439ff2 100644
--- a/nvim/.config/nvim/lua/lsp_config.lua
+++ b/nvim/.config/nvim/lua/lsp_config.lua
@@ -31,7 +31,7 @@ end
-- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches
-local servers = { 'tsserver' }
+local servers = { 'tsserver', 'zls' }
for _, lsp in pairs(servers) do
require('lspconfig')[lsp].setup {
on_attach = on_attach,