From 2922d683b7899b8b580cbff466478617ea7ad5ad Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 19 Dec 2023 18:53:18 +0200 Subject: [PATCH] ; * src/treesit.c (treesit_traverse_child_helper): Fix comment. --- src/treesit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/treesit.c b/src/treesit.c index 04ea8958b96..93ed97212d7 100644 --- a/src/treesit.c +++ b/src/treesit.c @@ -3063,7 +3063,7 @@ treesit_traverse_child_helper (TSTreeCursor *cursor, if (!named || (named && ts_node_is_named (ts_tree_cursor_current_node(cursor)))) return true; - /* Else named is required and last child is not named node */ + /* Else named is required and last child is not named node. */ if (treesit_traverse_sibling_helper(cursor, false, true)) return true; else -- 2.39.2