; * src/treesit.c (Ftreesit_query_capture): Fix typo.

This commit is contained in:
Yuan Fu 2024-06-30 22:36:11 -07:00
parent ae38579420
commit b2c966f839
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -2942,7 +2942,7 @@ the query. */)
/* As of right now, the node returned by treesit_resolve_node always /* As of right now, the node returned by treesit_resolve_node always
passes treesit_check_node; but it might not be true in the future, passes treesit_check_node; but it might not be true in the future,
so adding the line below just to be safe. */ so adding the line below just to be safe. */
treesit_check_node (node); treesit_check_node (lisp_node);
/* Extract C values from Lisp objects. */ /* Extract C values from Lisp objects. */
TSNode treesit_node = XTS_NODE (lisp_node)->node; TSNode treesit_node = XTS_NODE (lisp_node)->node;