Skip to content

Commit 245ec1c

Browse files
RedEtherbloomGerg-L
authored andcommitted
languages/ts: register javascript with prettier formatter (NotAShelf#595)
1 parent c980c44 commit 245ec1c

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)