aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/nvim/init.vim2
-rw-r--r--dotfiles/.config/nvim/lua.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index 4d1b95c..ff48a91 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -279,7 +279,7 @@ call plug#end()
if has('nvim-0.9')
" XXX: neovim's built-in C et al treesitter parsers are better, although
" not ideal either.
- lua require('nvim-treesitter.configs').setup{ ensure_installed = { "go", "rust", "python", "lua", "comment" }, highlight = { enable = true, disable = { "c", "cpp", "vim", "make" } }}
+ lua require('nvim-treesitter.configs').setup{ ensure_installed = { "go", "rust", "python", "lua", "comment", "zig" }, highlight = { enable = true, disable = { "c", "cpp", "vim", "make" } }}
set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()
endif
diff --git a/dotfiles/.config/nvim/lua.lua b/dotfiles/.config/nvim/lua.lua
index 8514d19..683abd4 100644
--- a/dotfiles/.config/nvim/lua.lua
+++ b/dotfiles/.config/nvim/lua.lua
@@ -7,6 +7,7 @@ lspconfig.gopls.setup{}
lspconfig.pylsp.setup{}
lspconfig.rls.setup{}
lspconfig.quick_lint_js.setup{}
+lspconfig.zls.setup{}
require('lspfuzzy').setup{}
local lsp_icons = {