Update .config/helix/languages.toml
This commit is contained in:
parent
26271f3067
commit
508ea2eb43
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user