aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJuri Linkov2025-04-23 20:17:46 +0300
committerJuri Linkov2025-04-23 20:17:46 +0300
commit261a965ff1a423c9dc0ee7c89974e4fc3c16b863 (patch)
tree0271730a4335458903f0c6c74b5f9b3f0a25d960 /java
parentd3f1f4923f73db617a69ac5d26d08809f814a811 (diff)
downloademacs-261a965ff1a423c9dc0ee7c89974e4fc3c16b863.tar.gz
emacs-261a965ff1a423c9dc0ee7c89974e4fc3c16b863.zip
Add the keyword ':copy-queries' to 'treesit-language-source-alist'.
* lisp/treesit-x.el (define-treesit-generic-mode): Add keyword ':copy-queries t' to the end of 'source'. * lisp/treesit.el (treesit-language-source-alist): Document the keyword ':copy-queries'. (treesit--install-language-grammar-1): Add &rest args. Process the keyword args. Call 'treesit--copy-queries' when :copy-queries is non-nil. (treesit--copy-queries): Add arg 'source-dir'. Copy queries from source-dir as well. Copy only the file "highlights.scm".
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions