]> git.eshelyaron.com Git - emacs.git/commit
Add TypeScript support with tree-sitter
authorTheodor Thornhill <theo@thornhill.no>
Tue, 11 Oct 2022 08:27:55 +0000 (10:27 +0200)
committerYuan Fu <casouri@gmail.com>
Wed, 12 Oct 2022 06:41:53 +0000 (23:41 -0700)
commit45b8204e09b7d399b792bb26c799efe48835c4a7
tree1ddae2f1189a13134f9757bd19d8892b64c774ac
parentc4179117afd37a03a7ba322e66b5bd6bae5637bd
Add TypeScript support with tree-sitter

* lisp/progmodes/ts-mode.el (ts-mode): New major mode for TypeScript
with support for tree-sitter.  It uses the TSX parser, so that we get
support for TSX as well as TypeScript.  If we cannot find tree-sitter,
we default to using js-mode.
etc/NEWS
lisp/progmodes/ts-mode.el [new file with mode: 0644]