Update .config/helix/languages.toml

This commit is contained in:
Kasper Juul Hermansen 2024-02-12 22:43:30 +01:00
parent 26271f3067
commit 508ea2eb43
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -35,3 +35,14 @@ indent = { tab-width = 2, unit = " " }
formatter = { command = 'prettier', args = ["--parser", "typescript"] }
auto-format = true
[[language]]
name = "tsx"
scope = "source.tsx"
injection-regex = "(tsx)" # |typescript
language-id = "typescriptreact"
file-types = ["tsx"]
language-servers = [ "typescript-language-server" ]
indent = { tab-width = 2, unit = " " }
formatter = { command = 'prettier', args = ["--parser", "typescript-react"] }
auto-format = true