2022-12-24 21:48:05 +00:00
|
|
|
[[language]]
|
|
|
|
name = "rust"
|
|
|
|
language-server = { command = "rustup", args = ["run", "stable", "rust-analyzer"] }
|
|
|
|
auto-format = true
|
2023-01-22 13:41:55 +00:00
|
|
|
[language.config.checkOnSave]
|
|
|
|
command = "clippy"
|
2022-12-24 21:48:05 +00:00
|
|
|
|
2022-11-06 14:05:47 +00:00
|
|
|
[[language]]
|
|
|
|
name = "python"
|
|
|
|
roots = ["pyproject.toml"]
|
|
|
|
formatter = { command = "black", args = ["-q", "-"] }
|
2022-11-08 16:56:02 +00:00
|
|
|
auto-format = true
|
2022-11-06 14:05:47 +00:00
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "bash"
|
2022-11-08 16:56:02 +00:00
|
|
|
formatter = { command = "beautysh", args=["-"] }
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "markdown"
|
|
|
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "md" ] }
|
2022-11-06 14:05:47 +00:00
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
[[language]]
|
2022-11-08 16:56:02 +00:00
|
|
|
name = "json"
|
|
|
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "json"] }
|
2022-11-06 14:05:47 +00:00
|
|
|
auto-format = true
|
|
|
|
|
2022-12-01 02:52:30 +00:00
|
|
|
[[language]]
|
|
|
|
name = "javascript"
|
|
|
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo/.config/dprint.json", "--stdin", "js" ] }
|
|
|
|
auto-format = true
|
|
|
|
|
2022-11-08 16:56:02 +00:00
|
|
|
[[language]]
|
|
|
|
name = "html"
|
2023-02-26 18:57:25 +00:00
|
|
|
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo/.config/djlintrc.json", "-"] }
|
2022-11-08 16:56:02 +00:00
|
|
|
auto-format = true
|
2023-03-25 12:59:09 +00:00
|
|
|
# language-server = { language-id = "html", command = "tailwindcss-language-server", args = ["--stdio"] }
|
|
|
|
# roots = ["tailwind.config.js"]
|
|
|
|
# config = {}
|
|
|
|
|
|
|
|
# [[language]]
|
|
|
|
# name = "css"
|
|
|
|
# language-server = { language-id = "css", command = "tailwindcss-language-server", args = ["--stdio"] }
|
|
|
|
# roots = ["tailwind.config.js"]
|
|
|
|
# config = {}
|
2022-12-17 15:17:40 +00:00
|
|
|
|
2022-11-08 16:56:02 +00:00
|
|
|
[[language]]
|
|
|
|
name = "julia"
|
|
|
|
auto-format = true
|