]> git.eshelyaron.com Git - emacs.git/commit
Add contextual tree-sitter font-lock to ts-mode and js-mode
authorYuan Fu <casouri@gmail.com>
Thu, 3 Nov 2022 18:53:49 +0000 (11:53 -0700)
committerYuan Fu <casouri@gmail.com>
Thu, 3 Nov 2022 18:53:49 +0000 (11:53 -0700)
commite3663d0e9c6ec32a70226947767850924b90bba7
tree4fcc985c4ee0df44e19e4167fa43e262fb3adf72
parentf9f9b43df5bdadb54a1ba14e1624aa254d9f092d
Add contextual tree-sitter font-lock to ts-mode and js-mode

* lisp/progmodes/js.el (js--treesit-font-lock-settings)
* lisp/progmodes/ts-mode.el (ts-mode--font-lock-settings): Capture
commend and strings.  Add empty lines.
lisp/progmodes/js.el
lisp/progmodes/ts-mode.el