Add support for tsx-ts-mode (#148)

* feat: add support for new tsx-ts-mode in emacs 29

from emacs docs:

> tsx-ts-mode is an autoloaded, interactive and natively compiled
function defined in typescript-ts-mode.el.gz.

Signature
(tsx-ts-mode)

Documentation
Major mode for editing TypeScript.

In addition to any hooks its parent mode typescript-ts-base-mode
might have run, this mode runs the hook tsx-ts-mode-hook, as the
final or penultimate step during initialization.

* update changelog

* Fix broken link in changelog

Co-authored-by: Radon Rosborough <radon@intuitiveexplanations.com>
This commit is contained in:
Daniel Perez Alvarez 2022-12-24 12:04:22 -05:00 committed by GitHub
parent deab8fb972
commit 5ebd6bf581
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -15,7 +15,7 @@ The format is based on [Keep a Changelog].
### Enhancements
* Emacs 29's tree-sitter-based major modes have been added to
`apheleia-mode-alist` ([#145]).
`apheleia-mode-alist` ([#145], [#148]).
### Bugs fixed
* If a formatter exited with a zero exit code when being killed by a
@ -40,6 +40,7 @@ The format is based on [Keep a Changelog].
[#143]: https://github.com/radian-software/apheleia/pull/143
[#145]: https://github.com/radian-software/apheleia/pull/145
[#147]: https://github.com/radian-software/apheleia/pull/147
[#148]: https://github.com/radian-software/apheleia/pull/148
## 3.1 (released 2022-11-11)
### Enhancements

View file

@ -1167,6 +1167,7 @@ function: %s" command)))
(terraform-mode . terraform)
(TeX-latex-mode . latexindent)
(TeX-mode . latexindent)
(tsx-ts-mode . prettier-typescript)
(tuareg-mode . ocamlformat)
(typescript-mode . prettier-typescript)
(typescript-ts-mode . prettier-typescript)