Skip to content

Commit 767447e

Browse files
committed
[#127] Fix performance issue for some valid Clojure expressions
1 parent 30c1735 commit 767447e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- Fix a bug in `clojure-ts-add-arity` when body has more than one expression.
1212
- [#120](https://github.com/clojure-emacs/clojure-ts-mode/issues/120): Fix a bug when symbols with metadata were not listed in imenu.
1313
- [#124](https://github.com/clojure-emacs/clojure-ts-mode/issues/124): Correctly indent lists that start with a keyword when using the `fixed` indentation style.
14+
- [#127](https://github.com/clojure-emacs/clojure-ts-mode/issues/127): Fix performance issue for some valid Clojure expressions.
1415

1516
## 0.5.1 (2025-06-17)
1617

clojure-ts-mode.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,7 @@ captured including quotes."
535535
((list_lit :anchor [(comment) (meta_lit) (old_meta_lit)] :*
536536
:anchor (sym_lit) @_def_symbol
537537
(list_lit :anchor (sym_lit) (vec_lit) :*
538-
(str_lit (str_content) ,capture-symbol) ,quotes-symbol)
539-
:*)
538+
(str_lit (str_content) ,capture-symbol) ,quotes-symbol))
540539
(:match ,clojure-ts--interface-def-symbol-regexp @_def_symbol)))))
541540

542541
(defconst clojure-ts--match-docstring-query

0 commit comments

Comments
 (0)