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

Add Elm lexer #818

Closed
wants to merge 1 commit into from
Closed

Conversation

gandarez
Copy link
Contributor

This PR simply adds Elm lexer to get the benefit of its tokenization.

@alecthomas
Copy link
Owner

I think maybe you're misunderstanding what the embedded/ directory is for. Chroma embeds all of those XML files and internally loads them into the lexer database.

You can see an example of Elm here.

@alecthomas alecthomas closed this Aug 18, 2023
@gandarez
Copy link
Contributor Author

I see. So the best way is to call lexers.Get("Elm")...?

@alecthomas
Copy link
Owner

Yes, that's correct.

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.

None yet

2 participants