helix: arreglar formatter js

This commit is contained in:
Cat /dev/Nulo 2023-01-15 20:42:53 -03:00
parent 0dee6dcdc6
commit 89ef2810af

View file

@ -1,7 +1,9 @@
use-grammars = { only = ["svelte"] }
[[language]] [[language]]
name = "javascript" name = "javascript"
auto-format = true auto-format = true
formatter = { command = 'prettier', args = ["--parser=javascript"] } formatter = { command = 'prettier', args = ["--parser=typescript"] }
[[language]] [[language]]
name = "typescript" name = "typescript"