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
2197 readers
1 users here now
founded 2 years 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.