aboutsummaryrefslogtreecommitdiff
path: root/apheleia-formatters.el
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2023-11-29 00:50:25 +0200
committerGitHub <noreply@github.com>2023-11-28 22:50:25 +0000
commit56651724ad22f2769bbdaccf54cbe75c1cb35c91 (patch)
tree9fef201e58833b3f77e387a3f72706cd0db3f0e2 /apheleia-formatters.el
parent5e894a270b73128d28b55c3067e4bf6aaace9039 (diff)
Add support for Robot Framework files with `robotidy` (#263)
Diffstat (limited to 'apheleia-formatters.el')
-rw-r--r--apheleia-formatters.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/apheleia-formatters.el b/apheleia-formatters.el
index d1947ec..780da69 100644
--- a/apheleia-formatters.el
+++ b/apheleia-formatters.el
@@ -136,6 +136,9 @@
"--parser=yaml"
(apheleia-formatters-js-indent "--use-tabs" "--tab-width")))
(purs-tidy . ("apheleia-npx" "purs-tidy" "format"))
+ (robotidy . ("robotidy" "--no-color" "-"
+ (apheleia-formatters-indent nil "--indent")
+ (apheleia-formatters-fill-column "--line-length")))
(rubocop . ("rubocop" "--stdin" filepath "--auto-correct"
"--stderr" "--format" "quiet" "--fail-level" "fatal"))
(ruby-standard . ("standardrb" "--stdin" filepath "--fix" "--stderr"
@@ -306,6 +309,7 @@ rather than using this system."
(purescript-mode . purs-tidy)
(python-mode . black)
(python-ts-mode . black)
+ (robot-mode . robotidy)
(ruby-mode . prettier-ruby)
(ruby-ts-mode . prettier-ruby)
(rustic-mode . rustfmt)