Skip to content

Add Zig highlighting - #925

Draft
Ibrahim (ibrahimalizade) wants to merge 2 commits into
microsoft:mainfrom
ibrahimalizade:main
Draft

Add Zig highlighting#925
Ibrahim (ibrahimalizade) wants to merge 2 commits into
microsoft:mainfrom
ibrahimalizade:main

Conversation

@ibrahimalizade

Copy link
Copy Markdown

This PR adds initial LSH syntax highlighting support for Zig including .zon files (Zig Object Notation)

It also includes highlighting test file.

Scope

This is a lightweight LSH-only change with no new dependencies.

The changes are limited to syntax definitions and highlighting fixtures:

  • new LSH definition for the Zig
  • new highlighting test sample

Validation

  • cargo test -q

Notes

You may notice that this PR is heavily inspired by and modelled after #791 and #796. I don't really know how to do PRs and never done them so I decided that I will do that.

@ibrahimalizade
Ibrahim (ibrahimalizade) marked this pull request as draft August 19, 2026 18:52
@ibrahimalizade

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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.

1 participant