Closed the-mikedavis closed 2 years ago
Hmm well now I wish there was a way to specify that something is not highlighted. It would be nice to have that for the record+member lines. I think we'll need to settle for only testing the module+function part for now.
tree-sitter v0.20.6 was just published that has a new testing mechanism for tags queries, so I've added some unit tests. I'm not very creative with the fixture, it was just some code I had locally. Are there any edge cases we want to cover? Maybe we should add some for the module+function vs. record+field stuff?