aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadon Rosborough <radon.neon@gmail.com>2022-01-02 16:50:52 -0800
committerRadon Rosborough <radon.neon@gmail.com>2022-01-02 16:51:44 -0800
commite1dbc1b1c04eca33749d7e931c5bb17ea6f9379e (patch)
tree5917c02b0b11788a8c453ead9ee208c9d285f0b5
parent38fb75d6c8ab59c1bdd254547037c385400b7cb1 (diff)
[#68] Add fish-indent
-rw-r--r--CHANGELOG.md5
-rw-r--r--apheleia.el2
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8645dec..febead0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,10 @@ The format is based on [Keep a Changelog].
[#65]. The log buffer is not hidden by default, and this can be
changed via the new user option `apheleia-hide-log-buffer` ([#69]).
+## Formatters
+* [fish\_indent](https://fishshell.com/docs/current/cmds/fish_indent.html)
+ for [Fish](https://fishshell.com/) ([#68]).
+
## Bugs fixed
* Allow running the same formatter in multiple buffers in parallel
([#64], [#65]). Previously, when saving a number of files at the
@@ -35,6 +39,7 @@ The format is based on [Keep a Changelog].
[#62]: https://github.com/raxod502/apheleia/issues/62
[#64]: https://github.com/raxod502/apheleia/issues/64
[#65]: https://github.com/raxod502/apheleia/pull/65
+[#68]: https://github.com/raxod502/apheleia/issues/68
[#69]: https://github.com/raxod502/apheleia/issues/69
## 1.2 (released 2021-12-27)
diff --git a/apheleia.el b/apheleia.el
index 2140663..5c9769c 100644
--- a/apheleia.el
+++ b/apheleia.el
@@ -633,6 +633,7 @@ function: %s" command)))
'((black . ("black" "-"))
(brittany . ("brittany"))
(clang-format . ("clang-format"))
+ (fish-indent . ("fish_indent"))
(gofmt . ("gofmt"))
(google-java-format . ("google-java-format" "-"))
(isort . ("isort" "--stdout" "-"))
@@ -694,6 +695,7 @@ such a directory exists anywhere above the current
(c++-mode . clang-format)
(css-mode . prettier)
(elixir-mode . mix-format)
+ (fish-mode . fish-indent)
(go-mode . gofmt)
(haskell-mode . brittany)
(html-mode . prettier)