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

@ -38,6 +38,11 @@ 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 auto-format = true
[[language]]
name = "toml"
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "toml"] }
auto-format = true
[[language]] [[language]]
name = "html" name = "html"
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo/.config/djlintrc.json", "-"] } formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo/.config/djlintrc.json", "-"] }