How to add multiple formatters to languages.toml #7749
-
I am currently using Here is part of my [[language]]
name = "python"
rulers = [79,88]
auto-format = true
formatter = {command = "black", args = ["-", "--quiet","--line-length=88",]} |
Beta Was this translation helpful? Give feedback.
Answered by
dustinlagoy
Aug 18, 2023
Replies: 2 comments 9 replies
-
you can create a shell scpit that calls both |
Beta Was this translation helpful? Give feedback.
7 replies
-
Another option is to just embed the shell script into your config. This works fine for me: formatter = { command = "bash", args = ["-c", "isort - | black -"] } |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
AH-Merii
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Another option is to just embed the shell script into your config. This works fine for me: