Skip to content

Commit f3261c8

Browse files
committed
Merge pull request #358 from DomKM/patch-1
Add indentation config for ClojureScript's `this-as`
2 parents 7fed5b3 + 8735050 commit f3261c8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Vertically align sexps with `C-c SPC`. This can also be done automatically (as part of indentation) by turning on `clojure-align-forms-automatically`.
88
* Indent and font-lock forms that start with `let-`, `while-` or `when-` like their counterparts.
99
* Apply the `font-lock-comment-face` to code commented out with `#_`.
10+
* Add indentation for `this-as`.
1011

1112
### Bugs fixed
1213

clojure-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,6 +1127,7 @@ it from Lisp code, use (put-clojure-indent 'some-symbol :defn)."
11271127
(if-let 1)
11281128
(when-some 1)
11291129
(if-some 1)
1130+
(this-as 1) ; ClojureScript
11301131

11311132
(defmethod :defn)
11321133

0 commit comments

Comments
 (0)