nvim-neorg/tree-sitter-norg

MacOS | TSInstallSync norg

NachoNievaG opened this issue · 2 comments

I'm trying to install the TS Parser using gcc-12 in macOS as the following:
image

and i'm getting the following error:
image

i tried some workarounds that i found here but i'm still not able to install the parser

i'm using the following nvim version:

NVIM v0.8.3
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@HMBRW-A-001-M1-004.local

if there is something else that i can bring your for context, or if i'm missing a detail, please let me know
Thank you in advanced and thank you for the hard work!

This worked for me:

brew install gcc@12
CC="/opt/homebrew/bin/gcc-12" nvim
CC="/opt/homebrew/bin/gcc-12" nvim -c "TSInstallSync norg"

Thank you @g-battaglia-h-farm , that actually works.
Closing