File tree 4 files changed +20
-2
lines changed
4 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 17
17
- [ #91 ] ( https://github.com/clojure-emacs/clojure-ts-mode/pull/91 ) : Introduce ` clojure-ts-cycle-keyword-string ` .
18
18
- [ #92 ] ( https://github.com/clojure-emacs/clojure-ts-mode/pull/92 ) : Add commands to convert between collections types.
19
19
- [ #93 ] ( https://github.com/clojure-emacs/clojure-ts-mode/pull/93 ) : Introduce ` clojure-ts-add-arity ` .
20
+ - Fix an issue where ` clojure-ts-align ` would hang when called within an
21
+ expression containing ignored forms.
20
22
21
23
## 0.3.0 (2025-04-15)
22
24
Original file line number Diff line number Diff line change @@ -1505,7 +1505,8 @@ function literal."
1505
1505
" var_quoting_lit" " sym_val_lit" " evaling_lit"
1506
1506
" tagged_or_ctor_lit" " splicing_read_cond_lit"
1507
1507
" derefing_lit" " quoting_lit" " syn_quoting_lit"
1508
- " unquote_splicing_lit" " unquoting_lit" )
1508
+ " unquote_splicing_lit" " unquoting_lit"
1509
+ " dis_expr" )
1509
1510
" A regular expression that matches nodes that can be treated as s-expressions." )
1510
1511
1511
1512
(defconst clojure-ts--list-nodes
Original file line number Diff line number Diff line change @@ -596,4 +596,12 @@ b |20])"
596
596
:a (let [a 1
597
597
aa (+ a 1)]
598
598
aa); comment
599
- :aa 2)" ))
599
+ :aa 2)" )
600
+
601
+ (when-aligning-it " should work correctly when there are ignored forms"
602
+ " {:map \" with\"
603
+ :some #_\" ignored\" \" form\" }"
604
+
605
+ " {:map \" with\"
606
+ :multiple \" ignored\"
607
+ #_#_:forms \" foo\" }" ))
Original file line number Diff line number Diff line change 55
55
aa (+ a 1 )]
56
56
aa); comment
57
57
:aa 2 )
58
+
59
+ {:map " with"
60
+ :some #_" ignored" " form" }
61
+
62
+ {:map " with"
63
+ :multiple " ignored"
64
+ #_#_:forms " foo" }
You can’t perform that action at this time.
0 commit comments