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:
parent
a1b7fa51f7
commit
a4867e19a0
1 changed files with 8 additions and 3 deletions
|
@ -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", "-"] }
|
||||||
|
|
Loading…
Reference in a new issue