Open mdsteele opened 5 years ago
Emacs c-mode applies font-lock-constant-face to labels (e.g. foo:) and label references (e.g. goto foo;). We should have zig-mode do something similar for e.g. blk: { ... } and break :blk.
c-mode
font-lock-constant-face
foo:
goto foo;
zig-mode
blk: { ... }
break :blk
Emacs
c-mode
appliesfont-lock-constant-face
to labels (e.g.foo:
) and label references (e.g.goto foo;
). We should havezig-mode
do something similar for e.g.blk: { ... }
andbreak :blk
.