* src/treesit.c (treesit-expand-pattern): Rename to
treesit-patter-expand.
(treesit-expand-query): Rename to treesit-query-expand.
(make_ts_query): Use new name.
* test/src/treesit-tests.el (treesit-query-api): Fix name.
(treesit-node-text
(cdr entry))))
(treesit-query-capture root-node query))))))
- ;; Test `treesit-expand-query'.
+ ;; Test `treesit-query-expand'.
(should
(equal
"(type field: (_) @capture .) ? * + \"return\""
- (treesit-expand-query
+ (treesit-query-expand
'((type field: (_) @capture :anchor)
:? :* :+ "return")))))))