fix(treesitter): Change compiler to zig

Treesitter used to give an error "*.so" is not a valid Win32 app.
I fixed this by installing zig and using and changing treesitter config
in init.lua to use zig to compile lang parsers
This commit is contained in:
rajvatsal 2023-12-25 16:54:20 +05:30
parent 855971b59d
commit a85a4c76e8
2 changed files with 18 additions and 15 deletions

View file

@ -255,6 +255,9 @@ require('lazy').setup({
'nvim-treesitter/nvim-treesitter-textobjects',
},
build = ':TSUpdate',
config = function()
require 'nvim-treesitter.install'.compilers = { 'zig' }
end
},
-- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart