Elixir support (#48)

* Add elixir formatter

* Fix format for elixir to use stdout

* Add CHANGELOG entry
This commit is contained in:
Justin Smestad 2021-10-03 12:10:22 -06:00 committed by GitHub
parent f46d65c179
commit a1e8462dd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ The format is based on [Keep a Changelog].
for [LaTeX](https://www.latex-project.org/), and for [LaTeX](https://www.latex-project.org/), and
[rustfmt](https://github.com/rust-lang/rustfmt) for [rustfmt](https://github.com/rust-lang/rustfmt) for
[Rust](https://www.rust-lang.org/) ([#24]). [Rust](https://www.rust-lang.org/) ([#24]).
* [Mix format](https://hexdocs.pm/mix/1.12/Mix.Tasks.Format.html) for Elixir
### Bugs fixed ### Bugs fixed
* Fix spelling error in generated process names ([#32]). * Fix spelling error in generated process names ([#32]).

View file

@ -461,6 +461,7 @@ modified from what is written to disk, then don't do anything."
'((black . ("black" "-")) '((black . ("black" "-"))
(brittany . ("brittany" file)) (brittany . ("brittany" file))
(clang-format . ("clang-format" file)) (clang-format . ("clang-format" file))
(mix-format . ("mix" "format" "-"))
(gofmt . ("gofmt")) (gofmt . ("gofmt"))
(google-java-format . ("google-java-format" file)) (google-java-format . ("google-java-format" file))
(latexindent . ("latexindent" file)) (latexindent . ("latexindent" file))
@ -489,6 +490,7 @@ commands, lists of strings and symbols, in the format of
'((cc-mode . clang-format) '((cc-mode . clang-format)
(c-mode . clang-format) (c-mode . clang-format)
(css-mode . prettier) (css-mode . prettier)
(elixir-mode . mix-format)
(go-mode . gofmt) (go-mode . gofmt)
(haskell-mode . brittany) (haskell-mode . brittany)
(html-mode . prettier) (html-mode . prettier)