Skip to content

Instantly share code, notes, and snippets.

@therealparmesh
Created July 13, 2024 16:28
Show Gist options
  • Save therealparmesh/3321e4021d0b50e1cb292e05621ed5fd to your computer and use it in GitHub Desktop.
Save therealparmesh/3321e4021d0b50e1cb292e05621ed5fd to your computer and use it in GitHub Desktop.
Helix languages.toml
[[language]]
name = "javascript"
auto-format = true
formatter = { command = "prettier", args = ["--write"] }
[[language]]
name = "typescript"
auto-format = true
formatter = { command = "prettier", args = ["--write"] }
[[language]]
name = "jsx"
auto-format = true
formatter = { command = "prettier", args = ["--write"] }
[[language]]
name = "tsx"
auto-format = true
formatter = { command = "prettier", args = ["--write"] }
[[language]]
name = "html"
auto-format = true
formatter = { command = "prettier", args = ["--write"] }
[[language]]
name = "css"
auto-format = true
formatter = { command = "prettier", args = ["--write"] }
[[language]]
name = "go"
auto-format = true
formatter = { command = "goimports" }
[[language]]
name = "gleam"
auto-format = true
formatter = { command = "gleam", args = ["format"] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment