]> git.eshelyaron.com Git - emacs.git/commit
Fix jsx font-lock in older tree-sitter-js grammars
authordannyfreeman <danny@dfreeman.email>
Fri, 11 Aug 2023 20:43:58 +0000 (16:43 -0400)
committerEli Zaretskii <eliz@gnu.org>
Thu, 17 Aug 2023 08:05:00 +0000 (11:05 +0300)
commit8f683b51d8bc9e8c66608fb6056e0f8765f274f8
tree2d8e7c51c02ae35b97a2ab3b07f8a969036b19f8
parentd9af79ae39d3216273faa923d91f586b0a16cc04
Fix jsx font-lock in older tree-sitter-js grammars

* lisp/progmodes/js.el (js--treesit-font-lock-settings): Use
queries that are backwards compatible with
tree-sitter-javascript bb1f97b.
* list/progmodes/js.el
(-jsx--treesit-font-lock-compatibility-bb1f97b): Delete unused
function.  (Bug#65234)
lisp/progmodes/js.el