fmt: ts.nix

This commit is contained in:
Valyn Tyler 2025-11-19 21:09:54 +01:00
commit 7c58bb5220

View file

@ -300,10 +300,12 @@ in {
vim.formatter.conform-nvim = {
enable = true;
setupOpts = {
formatters_by_ft.typescript = cfg.format.type;
formatters_by_ft.javascript = cfg.format.type;
# .tsx/.jsx files
formatters_by_ft.typescriptreact = cfg.format.type;
formatters_by_ft = {
typescript = cfg.format.type;
javascript = cfg.format.type;
# .tsx/.jsx files
typescriptreact = cfg.format.type;
};
setupOpts.formatters =
mapListToAttrs (name: {
inherit name;