add js/ts to ft to format
This commit is contained in:
parent
4b24a13263
commit
8cfd9c319d
1 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,10 @@ return {
|
||||||
opts = {
|
opts = {
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
|
javascript = { "prettierd" },
|
||||||
|
typescript = { "prettierd" },
|
||||||
|
javascriptreact = { "prettierd" },
|
||||||
|
typescriptreact = { "prettierd" },
|
||||||
},
|
},
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue