diff --git a/config/nvim/nvim.lua b/config/nvim/nvim.lua index ae8f96f..a2aa1ff 100644 --- a/config/nvim/nvim.lua +++ b/config/nvim/nvim.lua @@ -106,7 +106,9 @@ cmp.setup { -- Funky plugins require("conform").setup({ formatters_by_ft = { - python = { "isort", "black" }, + css = { "prettier", }, + html = { "prettier", }, + python = { "black" }, }, format_on_save = { timeout_ms = 500, diff --git a/packages/default.nix b/packages/default.nix index c33d969..7e470ce 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -88,7 +88,8 @@ in ++ (lib.optionals config.stitchyconf.artPkgs.enable artPkgs) ++ (lib.optionals (config.stitchyconf.form == "pc") pcPkgs) ++ (lib.optionals (config.stitchyconf.form == "handheld") handheldPkgs) - ++ (lib.optionals (config.stitchyconf.form == "server") serverPkgs); + ++ (lib.optionals (config.stitchyconf.form == "server") serverPkgs) + ++ [ pkgs.nodePackages.prettier ]; # To-do figure out how to section these off programs = {