mirror of
https://github.com/vale981/apheleia
synced 2025-03-04 17:11:40 -05:00
Add support for remaining treesit modes built into Emacs29 (#151)
* Add support for rust-ts-mode * Add new builtin go-, ruby- and yaml- treesit-modes Modes taken from NEWS.29 emacs29 release notes * Add new PR number to changelog entry for ts-modes
This commit is contained in:
parent
93d2b30dd0
commit
2520f14e1f
2 changed files with 7 additions and 2 deletions
|
@ -21,7 +21,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], [#148]).
|
||||
`apheleia-mode-alist` ([#145], [#148], [#151]).
|
||||
|
||||
### Bugs fixed
|
||||
* If a formatter exited with a zero exit code when being killed by a
|
||||
|
|
|
@ -1143,6 +1143,8 @@ function: %s" command)))
|
|||
(elm-mode . elm-format)
|
||||
(fish-mode . fish-indent)
|
||||
(go-mode . gofmt)
|
||||
(go-mod-ts-mode . gofmt)
|
||||
(go-ts-mode . gofmt)
|
||||
(graphql-mode . prettier-graphql)
|
||||
(haskell-mode . brittany)
|
||||
(html-mode . prettier-html)
|
||||
|
@ -1160,8 +1162,10 @@ function: %s" command)))
|
|||
(python-mode . black)
|
||||
(python-ts-mode . black)
|
||||
(ruby-mode . prettier-ruby)
|
||||
(ruby-ts-mode . prettier-ruby)
|
||||
(rustic-mode . rustfmt)
|
||||
(rust-mode . rustfmt)
|
||||
(rust-ts-mode . rustfmt)
|
||||
(scss-mode . prettier-scss)
|
||||
(terraform-mode . terraform)
|
||||
(TeX-latex-mode . latexindent)
|
||||
|
@ -1171,7 +1175,8 @@ function: %s" command)))
|
|||
(typescript-mode . prettier-typescript)
|
||||
(typescript-ts-mode . prettier-typescript)
|
||||
(web-mode . prettier)
|
||||
(yaml-mode . prettier-yaml))
|
||||
(yaml-mode . prettier-yaml)
|
||||
(yaml-ts-mode . prettier-yaml))
|
||||
"Alist mapping major mode names to formatters to use in those modes.
|
||||
This determines what formatter to use in buffers without a
|
||||
setting for `apheleia-formatter'. The keys are major mode
|
||||
|
|
Loading…
Add table
Reference in a new issue