]> git.eshelyaron.com Git - emacs.git/commit
Fix js/ts tree-sitter template_string font-lock
authorYuan Fu <casouri@gmail.com>
Mon, 17 Oct 2022 08:47:01 +0000 (01:47 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 17 Oct 2022 08:48:50 +0000 (01:48 -0700)
commit170924e945f4cceda12b5e1681391c3b828a3dec
tree93aa92a196a0679ac90544c37c0e388d895f0da1
parent85d0c11119fbd14d508d228f5edf4cf53fb4e4cb
Fix js/ts tree-sitter template_string font-lock

* lisp/progmodes/js.el (js--treesit-settings): Fontify
template_strings with js--fontify-template-string.
(js--fontify-template-string): New function.
(js--json-treesit-settings): Add missing :feature flag.
* lisp/progmodes/ts-mode.el (ts-mode--settings): Fontify
template_strings with js--fontify-template-string.
lisp/progmodes/js.el
lisp/progmodes/ts-mode.el