When setting up nvim-treesitter neither clang nor msvc worked. Rather, it worked and compiled the necessary libs but the treesitter plugin failed to load the necessary .so libs. The common troubleshooting steps didn't help (setting up clang as preferred compiler etc.), so I just ended up installing zig and that helped to get it working.
this post was submitted on 02 Aug 2024
7 points (88.9% liked)
Neovim
2161 readers
3 users here now
founded 1 year ago
MODERATORS
Yup, zig was the way to go when I did it too.
I remember having this issue about an year ago. If I remember correctly I changed the clang from 32-bit to 64-bit binary. I just installed 64-bit version of clang using scoop, which for some reason installed the 32-bit version by default. It worked that way no problem.