]> git.eshelyaron.com Git - emacs.git/commit
Add sexp navigation to js/typescript/tsx-ts-mode
authorTheodor Thornhill <theo@thornhill.no>
Sat, 21 Jan 2023 13:47:34 +0000 (14:47 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sat, 21 Jan 2023 13:47:34 +0000 (14:47 +0100)
commit2bf0ad3be6bec22471c5b32548da99d6eb63da58
treebcc7ebc54e4b9f211a692eae544557f25d719e97
parentf55bbc6898898c4b5457e6952b0ae9b5c8c42423
Add sexp navigation to js/typescript/tsx-ts-mode

* lisp/progmodes/js.el (js--treesit-sexp-nodes): Add node types.
(js-ts-mode): Set 'treesit-sexp-type-regexp'.
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--sexp-nodes): Add node types.
* lisp/progmodes/typescript-ts-mode.el (typescript-ts-base-mode): Set
'treesit-sexp-type-regexp'.
(tsx-ts-mode): Add in jsx nodes.
lisp/progmodes/js.el
lisp/progmodes/typescript-ts-mode.el