-
|
I get errors when i try to run Any suggestions or guides for which compiler i should install? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
This is what I did: brew install gccI tried setting the require("nvim-treesitter.install").compilers = { "gcc-13" }It did not work with just I don't know why the extra step was needed. I am also not a C/C++ dev. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you that worked for me as well. |
Beta Was this translation helpful? Give feedback.
This is what I did:
I tried setting the
CCenv variable, but it didn't help on its own. So then I added this to my treesitter config, and then it worked.It did not work with just
{ "gcc" }. This commandls /opt/homebrew/bin/gcc-1*told me that I have gcc-13.I don't know why the extra step was needed. I am also not a C/C++ dev.