Skip to content

Conversation

@Igonato
Copy link

@Igonato Igonato commented Dec 24, 2025

Adding Odin support (#182). Currently there are false positives with CONSTANTS in enum variant values and bit_fields size:

image

Can use another pair of eyes, I might be missing a way to make a query that can handle this case. It is also possible that's the grammar needs changing. Grammar for reference: https://github.com/tree-sitter-grammars/tree-sitter-odin/blob/master/grammar.js

What do you think?

@blopker
Copy link
Owner

blopker commented Dec 31, 2025

This looks great so far, but oof, I have no idea how to read Odin. There's also no Odin support in my tree-sitter visualizer, so debugging this will take some time. I'd be happy to merge this as is though if you want it in now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants