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 Zig lexer #364

Merged
merged 1 commit into from May 16, 2020
Merged

Add Zig lexer #364

merged 1 commit into from May 16, 2020

Conversation

RobinThrift
Copy link
Contributor

@RobinThrift RobinThrift commented May 16, 2020

This PR adds a lexer for the Zig language based on the
pygments Zig lexer.

I followed the instructions in the main README.md to convert from pygments to chroma and the lexers/README.md on how to add a lexer.

I grabbed a file from the Zig stdlib that covers quite a few cases as the .actual file.

Looking at the screenshots it looks good to me, but let me know if I missed anything.

Thanks for your great work!

I'd be happy to revise the code if you find anything :)

Screen Shot 2020-05-16 at 13 10 16
Screen Shot 2020-05-16 at 13 10 23

Add a lexer for the Zig language (https://ziglang.org) based on the
pygments Zig lexer.
@alecthomas
Copy link
Owner

alecthomas commented May 16, 2020

Seems reasonable to me, thanks for the PR!

@alecthomas alecthomas merged commit bd46305 into alecthomas:master May 16, 2020
1 check passed
@RobinThrift
Copy link
Contributor Author

RobinThrift commented May 16, 2020

Thank you for your super quick reply! Very much appreciated!

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