aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Smestad <justin.smestad@gmail.com>2021-10-03 12:18:03 -0600
committerGitHub <noreply@github.com>2021-10-03 11:18:03 -0700
commit8b9d576f2fda10d0c9051fc03c1eb1d9791e32fd (patch)
treee0de15534242feefbc9fefb44c46d49e97340333
parenta1e8462dd3fb2116cc3616c27030804cb9ac5069 (diff)
Add prettier-ruby (#49)
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
-rw-r--r--CHANGELOG.md20
-rw-r--r--apheleia.el1
2 files changed, 14 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 74a88c9..2949264 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,13 +6,17 @@ The format is based on [Keep a Changelog].
## Unreleased
### Formatters
* [ClangFormat](https://clang.llvm.org/docs/ClangFormat.html) for
- C/C++,
- [`google-java-format`](https://github.com/google/google-java-format)
- for Java, [latexindent](https://ctan.org/pkg/latexindent?lang=en)
- for [LaTeX](https://www.latex-project.org/), and
- [rustfmt](https://github.com/rust-lang/rustfmt) for
- [Rust](https://www.rust-lang.org/) ([#24]).
-* [Mix format](https://hexdocs.pm/mix/1.12/Mix.Tasks.Format.html) for Elixir
+ C/C++
+* [`google-java-format`](https://github.com/google/google-java-format)
+ for Java
+* [latexindent](https://ctan.org/pkg/latexindent?lang=en) for
+ [LaTeX](https://www.latex-project.org/)
+* [rustfmt](https://github.com/rust-lang/rustfmt) for
+ [Rust](https://www.rust-lang.org/) ([#24])
+* [`mix format`](https://hexdocs.pm/mix/1.12/Mix.Tasks.Format.html)
+ for Elixir ([#48])
+* [`@prettier/plugin-ruby`](https://github.com/prettier/plugin-ruby)
+ for Ruby ([#49])
### Bugs fixed
* Fix spelling error in generated process names ([#32]).
@@ -27,6 +31,8 @@ The format is based on [Keep a Changelog].
[#30]: https://github.com/raxod502/apheleia/issues/30
[#32]: https://github.com/raxod502/apheleia/pull/32
[#39]: https://github.com/raxod502/apheleia/issues/39
+[#48]: https://github.com/raxod502/apheleia/pull/48
+[#49]: https://github.com/raxod502/apheleia/pull/49
## 1.1.2 (released 2021-02-26)
### Enhancements
diff --git a/apheleia.el b/apheleia.el
index 0dd3720..e95b127 100644
--- a/apheleia.el
+++ b/apheleia.el
@@ -501,6 +501,7 @@ commands, lists of strings and symbols, in the format of
(latex-mode . latexindent)
(LaTeX-mode . latexindent)
(python-mode . black)
+ (ruby-mode . prettier)
(rustic-mode . rustfmt)
(rust-mode . rustfmt)
(sass-mode . prettier)