emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/zig-mode f0b4a48753: Set compile-command to "zig build"


From: ELPA Syncer
Subject: [nongnu] elpa/zig-mode f0b4a48753: Set compile-command to "zig build"
Date: Mon, 4 Nov 2024 13:01:14 -0500 (EST)

branch: elpa/zig-mode
commit f0b4a487530146f99230f4a5ff67e8d56c8f3f80
Author: vent <ventlark@gmail.com>
Commit: Joachim Schmidt <joachim.schmidt557@outlook.com>

    Set compile-command to "zig build"
    
    This replaces the default "make -k" command for M-x compile.
---
 zig-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/zig-mode.el b/zig-mode.el
index b9b61e77f3..30f44d825b 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -460,6 +460,7 @@ This is written mainly to be used as 
`end-of-defun-function' for Zig."
   (setq-local indent-tabs-mode nil)  ; Zig forbids tab characters.
   (setq-local syntax-propertize-function 'zig-syntax-propertize)
   (setq-local imenu-generic-expression zig-imenu-generic-expression)
+  (setq-local compile-command "zig build")
   (setq buffer-file-coding-system 'utf-8-unix) ; zig source is always utf-8
   (setq font-lock-defaults '(zig-font-lock-keywords
                              nil nil nil nil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]