2023-09-28 10:52:20 +02:00
|
|
|
[[language]]
|
|
|
|
name = "python"
|
|
|
|
roots = ["pyproject.toml", "setup.py", "Poetry.lock", ".git"]
|
2023-10-19 09:56:27 +02:00
|
|
|
# language-servers = [{ command = "pyright-langserver", args = ["--stdio"] }]
|
2023-09-28 10:52:20 +02:00
|
|
|
auto-format = true
|
|
|
|
formatter = {command = 'black', args = ["--quiet", "-"]}
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "html"
|
|
|
|
formatter = { command = 'prettier', args = ["--parser", "html"] }
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "json"
|
|
|
|
formatter = { command = 'prettier', args = ["--parser", "json"] }
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "css"
|
|
|
|
formatter = { command = 'prettier', args = ["--parser", "css"] }
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "javascript"
|
|
|
|
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "typescript"
|
|
|
|
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "markdown"
|
|
|
|
formatter = { command = 'prettier', args = ["--parser", "markdown"] }
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "hcl"
|
|
|
|
formatter = { command = 'terraform', args = ["fmt", "-"] }
|
|
|
|
auto-format = true
|
|
|
|
|
|
|
|
[[language]]
|
|
|
|
name = "tfvars"
|
|
|
|
formatter = { command = 'terraform', args = ["fmt", "-"] }
|
|
|
|
auto-format = true
|