Skip to content

Commit 9ec4a55

Browse files
committed
languages/ts: register javascript with prettier formatter (NotAShelf#595)
1 parent 88aa581 commit 9ec4a55

File tree

1 file changed

+1
-1
lines changed
  • modules/plugins/languages

1 file changed

+1
-1
lines changed

modules/plugins/languages/ts.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
ls_sources,
8383
null_ls.builtins.formatting.prettier.with({
8484
command = "${cfg.format.package}/bin/prettier",
85-
filetypes = { "typescript" },
85+
filetypes = { "typescript", "javascript" },
8686
})
8787
)
8888
'';

0 commit comments

Comments
 (0)