branch: elpa/clojure-ts-mode
commit 19189ffc9b1f2f1cda989c69a0da4ecdd4f2ef8c
Author: Roman Rudakov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
[#127] Fix performance issue for some valid Clojure expressions
---
CHANGELOG.md | 1 +
clojure-ts-mode.el | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f89b5532950..5119c15c0d5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@
- Fix a bug in `clojure-ts-add-arity` when body has more than one expression.
- [#120](https://github.com/clojure-emacs/clojure-ts-mode/issues/120): Fix a
bug when symbols with metadata were not listed in imenu.
- [#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.
+- [#127](https://github.com/clojure-emacs/clojure-ts-mode/issues/127): Fix
performance issue for some valid Clojure expressions.
## 0.5.1 (2025-06-17)
diff --git a/clojure-ts-mode.el b/clojure-ts-mode.el
index 2dd73ad4209..31d84b7235c 100644
--- a/clojure-ts-mode.el
+++ b/clojure-ts-mode.el
@@ -535,8 +535,7 @@ captured including quotes."
((list_lit :anchor [(comment) (meta_lit) (old_meta_lit)] :*
:anchor (sym_lit) @_def_symbol
(list_lit :anchor (sym_lit) (vec_lit) :*
- (str_lit (str_content) ,capture-symbol)
,quotes-symbol)
- :*)
+ (str_lit (str_content) ,capture-symbol)
,quotes-symbol))
(:match ,clojure-ts--interface-def-symbol-regexp @_def_symbol)))))
(defconst clojure-ts--match-docstring-query