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

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

[nongnu] elpa/jade-mode 05d671fcdb 057/128: Add comment syntax to allow


From: ELPA Syncer
Subject: [nongnu] elpa/jade-mode 05d671fcdb 057/128: Add comment syntax to allow for M-x (un)comment-region.
Date: Sat, 29 Jan 2022 08:24:47 -0500 (EST)

branch: elpa/jade-mode
commit 05d671fcdbdbac86a9e5113184cf136950a0e773
Author: Andrew Butcher <abutcher@redhat.com>
Commit: Andrew Butcher <abutcher@redhat.com>

    Add comment syntax to allow for M-x (un)comment-region.
---
 jade-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/jade-mode.el b/jade-mode.el
index f71c333d53..bfa9db4b6b 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -86,6 +86,9 @@ For detail, see `comment-dwim'."
   (setq mode-name "Jade")
   (setq major-mode 'jade-mode)
 
+  ;; comment syntax
+  (set (make-local-variable 'comment-start) "// ")
+
   ;; default tab width
   (setq sws-tab-width 2)
   (make-local-variable 'indent-line-function)



reply via email to

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