Skip to content

Commit 8735050

Browse files
committed
Add indentation for ClojureScript's this-as
1 parent 207b31f commit 8735050

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)