aboutsummaryrefslogtreecommitdiff
path: root/apheleia.el
diff options
context:
space:
mode:
authorEllis KenyƑ <elken@users.noreply.github.com>2022-05-13 17:23:57 +0100
committerGitHub <noreply@github.com>2022-05-13 09:23:57 -0700
commit363d634c5c3d79983fb44d2238fcfdf24fbf81b2 (patch)
tree5db5c28f0a5ec1154157f66067a93b52faedf5aa /apheleia.el
parentb5dbab53eadf64529a0bfe217c7750f1d7d85fce (diff)
Add ktlint (#97)
* feat: add ktlint * Apply suggestions from code review Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
Diffstat (limited to 'apheleia.el')
-rw-r--r--apheleia.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/apheleia.el b/apheleia.el
index 8dc3696..c71121c 100644
--- a/apheleia.el
+++ b/apheleia.el
@@ -927,6 +927,7 @@ being run, for diagnostic purposes."
(gofmt . ("gofmt"))
(google-java-format . ("google-java-format" "-"))
(isort . ("isort" "-"))
+ (ktlint . ("ktlint" "--stdin" "-F"))
(latexindent . ("latexindent" "--logfile=/dev/null"))
(mix-format . ("mix" "format" "-"))
(ocamlformat . ("ocamlformat" "-" "--name" filepath
@@ -1059,6 +1060,7 @@ function: %s" command)))
(js3-mode . prettier)
(js-mode . prettier)
(json-mode . prettier)
+ (kotlin-mode . ktlint)
(latex-mode . latexindent)
(LaTeX-mode . latexindent)
(python-mode . black)