this post was submitted on 02 Aug 2024
1 points (100.0% liked)
Neovim
2161 readers
1 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.
Yup, zig was the way to go when I did it too.