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

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

[nongnu] elpa/zig-mode e659a58 024/104: Set comment-start and comment-en


From: ELPA Syncer
Subject: [nongnu] elpa/zig-mode e659a58 024/104: Set comment-start and comment-end (for issue #5) (#7)
Date: Sun, 29 Aug 2021 11:36:56 -0400 (EDT)

branch: elpa/zig-mode
commit e659a58b3ec970f8f52b8aa1b353c9cdd5dc17e8
Author: Matthew D. Steele <mdsteele@alum.mit.edu>
Commit: GitHub <noreply@github.com>

    Set comment-start and comment-end (for issue #5) (#7)
---
 zig-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zig-mode.el b/zig-mode.el
index 2b63514..9172fbc 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -143,6 +143,8 @@
   "A major mode for the zig programming language."
   (set (make-local-variable 'c-basic-offset) 4)
   (set (make-local-variable 'c-syntactic-indentation) nil)
+  (setq-local comment-start "// ")
+  (setq-local comment-end "")
   (setq font-lock-defaults '(zig-font-lock-keywords)))
 
 ;;;###autoload



reply via email to

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