Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odin Lang Highlight? #572

Open
philocalyst opened this issue Jan 27, 2025 · 3 comments
Open

Odin Lang Highlight? #572

philocalyst opened this issue Jan 27, 2025 · 3 comments

Comments

@philocalyst
Copy link

The Odin language (https://odin-lang.org/) is not syntactically highlighted :(

@keith-hall
Copy link
Collaborator

syntect is just a library and can't include syntax definitions for every language under the sun by default. But, as it is a library, you are free to reference whatever syntax definitions you want in your applications which use this library. Looks like there is an official sublime-syntax for Odin at https://github.com/odin-lang/sublime-odin you can use.

@philocalyst
Copy link
Author

A lot of the tooling I use relies on this library and I don't know of a way to update their highlighting as well. To me it's very unclear what has to happen for a highlight to "make it" and be bundled with the library? I mean I can start issues with all of my tooling to add Odin, but I'd rather get it from the source.

I understand this is a very common issue for you, I wish there was a disclaimer somewhere on your policies.

@keith-hall
Copy link
Collaborator

For syntax definitions, syntect quite simply takes the same stance as Sublime Text, and only bundles what Sublime Text bundles.
#168

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

No branches or pull requests

2 participants