gleam-lang / tree-sitter-gleam

🌳 A tree-sitter grammar for the Gleam programming language
Apache License 2.0
71 stars 13 forks source link

generalize bit string option node #22

Closed the-mikedavis closed 2 years ago

the-mikedavis commented 2 years ago

closes #19

It ended up being a pretty small refactor to the grammar, only really changing around what and where things are aliased. I also added some highlight tests for it with the capture @function.builtin. That doesn't really feel like the perfect capture, I'm open to suggestions!