Skip to content

Commit eb9aab3

Browse files
authored
Fix missing comment-add variable in clojure-ts-mode-variables (#46)
Set `comment-add` to 1 in `clojure-ts-mode-variables`. This resolves #26.
1 parent d577270 commit eb9aab3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## main (unreleased)
44

55
- [#38]: Add support for `in-ns` forms in `clojure-ts-find-ns`.
6+
- [#46]: Fix missing `comment-add` variable in `clojure-ts-mode-variables` mentioned in [#26]
67

78
## 0.2.2 (2024-02-16)
89

clojure-ts-mode.el

+1
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,7 @@ forms like deftype, defrecord, reify, proxy, etc."
912912
(defun clojure-ts-mode-variables (&optional markdown-available)
913913
"Initialize buffer-local variables for `clojure-ts-mode'.
914914
See `clojure-ts--font-lock-settings' for usage of MARKDOWN-AVAILABLE."
915+
(setq-local comment-add 1)
915916
(setq-local comment-start ";")
916917
(setq-local treesit-font-lock-settings
917918
(clojure-ts--font-lock-settings markdown-available))

0 commit comments

Comments
 (0)