Skip to content

Add Zig lexer#364

Merged
alecthomas merged 1 commit intoalecthomas:masterfrom
RobinThrift:zig-lexer
May 16, 2020
Merged

Add Zig lexer#364
alecthomas merged 1 commit intoalecthomas:masterfrom
RobinThrift:zig-lexer

Conversation

@RobinThrift
Copy link
Contributor

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

Seems reasonable to me, thanks for the PR!

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

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.

2 participants