switch to nixfmt
2 files changed, 4 insertions(+), 6 deletions(-)
changed files
M user/emacs/init.el → user/emacs/init.el
@@ -1395,15 +1395,12 @@ :config (progn (setf (alist-get 'shfmt apheleia-formatters) '("shfmt")) (setq apheleia-formatters - (append apheleia-formatters '((nixpkgs-fmt "nixpkgs-fmt") - (golines "golines") + (append apheleia-formatters '((golines "golines") (taplo "taplo" "format" "-") (prettier-gotmpl "prettier" "--stdin-filepath" filepath "--parser=go-template" (apheleia-formatters-indent "--use-tabs" "--tab-width"))))) - (setq apheleia-mode-alist (append apheleia-mode-alist '((nix-ts-mode . nixpkgs-fmt) - (nix-mode . nixpkgs-fmt) - (toml-ts-mode . taplo)))) + (setq apheleia-mode-alist (append apheleia-mode-alist '((toml-ts-mode . taplo)))) (add-hook 'apheleia-mode-hook #'turn-off-format-all-mode)) :init (progn (apheleia-global-mode +1)))
M user/settings/nix.nix → user/settings/nix.nix
@@ -33,7 +33,8 @@ angrr nix-update nix-tree common-updater-scripts - nixpkgs-fmt + nixfmt-tree + nixfmt-rfc-style nixpkgs-lint nixpkgs-review lixPackageSet.nix-fast-build