File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -742,20 +742,17 @@ PARENT is expected to be a list literal.
742
742
See `treesit-simple-indent-rules' ."
743
743
(and
744
744
(clojure-ts--list-node-p parent)
745
- (let* ((first-child (treesit-node-child parent 0 t ))
746
- (non-meta-first-child (if (clojure-ts--meta-node-p first-child)
747
- (treesit-node-child parent 1 t )
748
- first-child)))
745
+ (let* ((first-child (clojure-ts--node-child-skip-meta parent 0 )))
749
746
(and
750
747
(not
751
748
(clojure-ts--symbol-matches-p
752
749
; ; Symbols starting with this are false positives
753
750
(rx line-start (or " default" " deflate" " defer" ))
754
- non-meta- first-child))
751
+ first-child))
755
752
(not (clojure-ts--match-with-meta node parent _bol))
756
753
(clojure-ts--symbol-matches-p
757
754
clojure-ts--symbols-with-body-expressions-regexp
758
- non-meta- first-child)))))
755
+ first-child)))))
759
756
760
757
(defun clojure-ts--match-method-body (_node parent _bol )
761
758
" Matches a `NODE' in the body of a `PARENT' method implementation.
You can’t perform that action at this time.
0 commit comments