Fix treesit-query-validate
authorYuan Fu <casouri@gmail.com>
Wed, 21 Sep 2022 01:02:16 +0000 (18:02 -0700)
committerYuan Fu <casouri@gmail.com>
Wed, 21 Sep 2022 01:36:52 +0000 (18:36 -0700)
commitcb0464bf4248a8c48e3da2dd0c502091e4ec489a
treef82850322c2e747384610d9c2217804d798ef336
parent55e01229dafad75affbe49446f2aef3fbca2f3a8
Fix treesit-query-validate

* lisp/treesit.el (treesit-query-validate): Add a call to
treesit-query-expand so this function works on both sexp and string
query, as expected.
lisp/treesit.el