1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Add TOML formatter

This commit is contained in:
Mo 2023-07-27 16:28:53 +02:00
parent a1b7fa51f7
commit a4867e19a0

View file

@ -20,12 +20,12 @@ auto-format = true
[[language]]
name = "bash"
formatter = { command = "beautysh", args=["-"] }
formatter = { command = "beautysh", args = ["-"] }
auto-format = true
[[language]]
name = "markdown"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "md" ] }
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "md"] }
auto-format = true
[[language]]
@ -35,7 +35,12 @@ auto-format = true
[[language]]
name = "javascript"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "js" ] }
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "js"] }
auto-format = true
[[language]]
name = "toml"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "toml"] }
auto-format = true
[[language]]