Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Conversation

@ve-nt
Copy link
Contributor

@ve-nt ve-nt commented Nov 1, 2024

c-mode applies font-lock-constant-face to labels (e.g. foo:) and label references (e.g. goto foo;). Get zig-mode to do the equivalent with block labels.

This closes #11

c-mode applies `font-lock-constant-face` to labels (e.g. `foo:`) and
label references (e.g. `goto foo;`). Get zig-mode to do the equivalent
with block labels.
@joachimschmidt557
Copy link
Contributor

Thanks!

@joachimschmidt557 joachimschmidt557 merged commit 0931dcb into ziglang:master Nov 1, 2024
12 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add syntax highlighting for block labels

2 participants