]> git.eshelyaron.com Git - emacs.git/commit
Show tree-sitter query source when signaling query error
authorYuan Fu <casouri@gmail.com>
Sat, 31 Dec 2022 00:57:45 +0000 (16:57 -0800)
committerYuan Fu <casouri@gmail.com>
Sat, 31 Dec 2022 00:57:45 +0000 (16:57 -0800)
commitab1f245f1a1b36bae9a3051b6cb93ecd5b78dd7a
tree4f793ef325c6ac3c4c738f47cfc8c2606f57e864
parent0b58ea0e6025fa815f8afb217f4605a680e4015c
Show tree-sitter query source when signaling query error

* src/treesit.c (treesit_compose_query_signal_data): Add QUERY_SOURCE
parameter.
(treesit_ensure_query_compiled)
(Ftreesit_query_capture): Add query source.
src/treesit.c