neorg
neorg copied to clipboard
Fixed tree-sitter-norg parser builds on MacOS.
- Added use_makefile, which is how nvim-treesitter builds the norg parser by default and which correctly adds the required compiler flags
- Removed a macOS build kludge that is no longer needed (and seems not to work anymore)
- Removed branch specification which is ignored when setting revision.
Tested on an Apple silicon machine running macOS 14.7, and an Intel machine running macOS running macOS 13.7.
Fixes nvim-neorg/tree-sitter-norg#45
Hey I think you're changes are already covered in this PR
#1020 is stalled though, I could see merging this in the meantime.
FWIW, I got a clean build with this PR on an M3 MacBook running MacOS 15, and also on an x86_64 laptop running Linux Mint.
This is a must have! Compiled without issues on Neorg 9.2.0 and Intel MacOS 14.7.4.