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:
parent
855971b59d
commit
a85a4c76e8
2 changed files with 18 additions and 15 deletions
3
init.lua
3
init.lua
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue