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 highlighting for Zig object notation files + other fixes #73

Closed
wants to merge 44 commits into from

Conversation

aidenfoxivey
Copy link

@aidenfoxivey aidenfoxivey commented Aug 9, 2024

Hi there! First time contributor to this repo so I'm unsure whether my formatting is appropriate.

I just added the inf and nan fields that I read were required in ziglang/zig#20271. I've also removed highlighting for &, seeing as though ampersands aren't permitted in Zig. (to the beset of my knowledge)

Hoping to help close #71. Criticisms would be greatly appreciated. :)

Cheers!

  • Aiden

travisstaloch and others added 23 commits August 10, 2024 16:27
- make leading '.' optional
- before this, a leading '.' was required by this regex. this made parsing
  of error all error messages fail which don't have a leading '.'. as a
  result, i had never been able to see the build system's inline error
  messages.
- tested with zig version 0.10.0-dev.3838+77f31ebbb (Aug 31 2022)
use `storage.type.zig keyword.declaration.test.zig`
see [guidelines](https://www.sublimetext.com/docs/scope_naming.html#storage)

# Conflicts:
#	Syntaxes/Zig.sublime-syntax
fixup! use keyword.declaration
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
Signed-off-by: Aiden Fox Ivey <[email protected]>
@aidenfoxivey aidenfoxivey reopened this Aug 11, 2024
@aidenfoxivey aidenfoxivey changed the title Add highlighting for Zig object notation files Add highlighting for Zig object notation files + other fixes Aug 11, 2024
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.

Zon support
3 participants