···11+flake.lock22+33+# for now, we don't want these formatted, but let's consider it in the future?44+*.json55+*.md66+*.yml77+*.yaml88+*.jsonc99+*.json1010+1111+# causes Go template plugin errors: https://github.com/NiklasPor/prettier-plugin-go-template/issues/1201212+appview/pages/templates/layouts/repobase.html1313+appview/pages/templates/repo/tags.html
···11-// Folder-specific settings22-//33-// For a full list of overridable settings, and general information on folder-specific settings,44-// see the documentation: https://zed.dev/docs/configuring-zed#settings-files55-{66- "languages": {77- "HTML": {88- "prettier": {99- "format_on_save": false,1010- "allowed": true,1111- "parser": "go-template",1212- "plugins": ["prettier-plugin-go-template"]1313- }1414- }1515- }1616-}
+6
flake.nix
···106106 pkgsCross-gnu64-pkgsStatic-knot = crossPackages.knot;107107 pkgsCross-gnu64-pkgsStatic-knot-unwrapped = crossPackages.knot-unwrapped;108108 pkgsCross-gnu64-pkgsStatic-spindle = crossPackages.spindle;109109+110110+ prettier-wrapper = pkgs.runCommandLocal "prettier-wrapper" {nativeBuildInputs = [pkgs.makeWrapper];} ''111111+ mkdir -p "$out/bin"112112+ makeWrapper ${pkgs.prettier}/bin/prettier "$out/bin/prettier" --add-flags "--plugin=${pkgs.prettier-plugin-go-template}/lib/node_modules/prettier-plugin-go-template/lib/index.js"113113+ '';109114 });110115 defaultPackage = forAllSystems (system: self.packages.${system}.appview);111116 formatter = forAllSystems (system: nixpkgsFor.${system}.alejandra);···134129 pkgs.redis135130 pkgs.coreutils # for those of us who are on systems that use busybox (alpine)136131 packages'.lexgen132132+ packages'.prettier-wrapper137133 ];138134 shellHook = ''139135 mkdir -p appview/pages/static