I spent a full week tracking down a vexing bug in MarsEdit’s syntax highlighting which I ultimately discovered is fixed in the latest version of tree-sitter, a dependency. There are many ways I could have avoided this mistake, but I never suspected tree-sitter itself as the root of the problem.

*****
Written on