simonbs / Runestone

📝 Performant plain text editor for iOS with syntax highlighting, line numbers, invisible characters and much more.
MIT License
2.62k stars 145 forks source link

Only allows patches of Tree-sitter dependency #354

Closed simonbs closed 4 months ago

simonbs commented 4 months ago

As discovered by Pasi Salenius, Tree-sitter 0.21.0 moves the lib/include/tree_sitter/parser.h to the src folder, making the TSLanguage definition unavailable to Runestone.

This is a breaking change that I'll need time to look into how we can address best. My intuition is that we need to modify the Package.swift manifest of the Tree-sitter package to expose the parser.h.

In the mean time, Runestone will stay on Tree-sitter 0.20.x.