Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 75edb95

Browse files
committedOct 18, 2024·
Lint
1 parent 75aa34d commit 75edb95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎clojure-ts-mode.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ https://github.com/weavejester/cljfmt/blob/fb26b22f569724b05c93eb2502592dfc2de89
738738
(or (clojure-ts--symbol-node-p first-child)
739739
(clojure-ts--keyword-node-p first-child)))))
740740

741-
(defun clojure-ts--match-expression-in-body (node parent _bol)
741+
(defun clojure-ts--match-expression-in-body (node parent bol)
742742
"Match NODE if it is an expression used in a body argument.
743743
PARENT is expected to be a list literal.
744744
See `treesit-simple-indent-rules'."
@@ -751,7 +751,7 @@ See `treesit-simple-indent-rules'."
751751
;; Symbols starting with this are false positives
752752
(rx line-start (or "default" "deflate" "defer"))
753753
first-child))
754-
(not (clojure-ts--match-with-meta node parent _bol))
754+
(not (clojure-ts--match-with-meta node parent bol))
755755
(clojure-ts--symbol-matches-p
756756
clojure-ts--symbols-with-body-expressions-regexp
757757
first-child)))))

0 commit comments

Comments
 (0)
Please sign in to comment.