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

feat: zig support #930

Open
wants to merge 5 commits into
base: v3
Choose a base branch
from
Open

feat: zig support #930

wants to merge 5 commits into from

Conversation

LDprg
Copy link

@LDprg LDprg commented Dec 6, 2024

This is related to #929. I tried adding my own zig support, not sure if I did everything right.

I just want to note that zig does only support line comments (// or /// or //!).

@jdkato
Copy link
Member

jdkato commented Jan 9, 2025

I'd like to add support for new code languages through tree-sitter, rather than the now-deprecated method of regex.

Vale uses github.com/smacker/go-tree-sitter, which doesn't include Zig by default.

You can either contribute to that repo or create your own Go package for Zig.

I did something similar for Julia: package, source.

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