You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,19 @@ Most configuration changes will require reverting any active clojure-ts-mode buf
20
20
21
21
### Indentation
22
22
23
-
clojure-ts-mode currently supports 2 different indentation strategies
23
+
clojure-ts-mode currently supports 2 different indentation strategies:
24
+
24
25
-`semantic`, the default, which tries to match the indentation of clojure-mode and cljfmt
25
26
-`fixed`, [a simple indentation strategy outlined by Tonsky in a blog post](https://tonsky.me/blog/clojurefmt/)
26
27
27
28
Set the var `clojure-ts-indent-style` to change it.
29
+
28
30
```emacs-lisp
29
31
(setq clojure-ts-indent-style 'fixed)
30
32
```
31
33
34
+
**Note:** You can find [this article](https://metaredux.com/posts/2020/12/06/semantic-clojure-formatting.html) comparing semantic and fixed indentation useful.
35
+
32
36
### Font Locking
33
37
34
38
Too highlight entire rich `comment` expression with the comment font face, set
0 commit comments