Just fork this tree sitter grammar and add your custom tag, they said. It’ll be fun they said.
Fast forward: diving into C++ code to debug failing tests to find a bug in the codebase where a value from a buffer in a custom vector class was being cast to an enum without taking its absolute value causing end tag comparisons for custom HTML tags to fail with -N != N when comparing the tag type.
In short, *sigh!* :)
(But also, yay: I think I have a functional tree sitter grammar for NodeKit now!)
@aral ah i see, so you not only have a grammer for nodekit, but also made treesitter better i guess ;-)
@petrisch There are but the bug was in the c code, not the bindings or the JavaScript grammar.