summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/c-ts-common.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/c-ts-common.el b/lisp/progmodes/c-ts-common.el
index 33365a3921b..7ebd0770a5d 100644
--- a/lisp/progmodes/c-ts-common.el
+++ b/lisp/progmodes/c-ts-common.el
@@ -632,7 +632,7 @@ for determining standlone line."
(funcall
treesit-simple-indent-standalone-predicate
node)
- (c-ts-common--standalone-predicate parent)))))
+ (c-ts-common--standalone-predicate node)))))
(setq node (treesit-node-prev-sibling node 'named)))
(if (numberp anchor) anchor (treesit-node-start node)))))