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

Commit ce5e728

Browse files
committed
Merge branch 'feature/set-compile-command'
2 parents 1cc9781 + 492c0e5 commit ce5e728

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zig-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ This is written mainly to be used as `end-of-defun-function' for Zig."
453453
(setq-local indent-tabs-mode nil) ; Zig forbids tab characters.
454454
(setq-local syntax-propertize-function 'zig-syntax-propertize)
455455
(setq-local imenu-generic-expression zig-imenu-generic-expression)
456+
(setq-local compile-command "zig build")
456457
(setq buffer-file-coding-system 'utf-8-unix) ; zig source is always utf-8
457458
(setq font-lock-defaults '(zig-font-lock-keywords
458459
nil nil nil nil

0 commit comments

Comments
 (0)