mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Add TOML formatter
This commit is contained in:
parent
a1b7fa51f7
commit
a4867e19a0
1 changed files with 8 additions and 3 deletions
|
@ -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]]
|
||||
|
|
Loading…
Reference in a new issue