emacs: remove derived dnscontrol-mode now unnecessary as dnscontrol files can be formatted with any typical formatter
Alan Pearce alan@alanpearce.eu
Sun, 23 Mar 2025 23:01:51 +0100
1 files changed, 0 insertions(+), 7 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -911,12 +911,6 @@ (use-package astro-ts-mode :mode (("\\.astro\\'" . astro-ts-mode))) -(define-derived-mode dnscontrol-mode typescript-ts-mode "DNSControl" - "Major mode for editing configuration of DNSControl." - (if (featurep 'apheleia) - (setq-local apheleia-formatter 'dnscontrol))) -(add-to-list 'auto-mode-alist '("dnsconfig.js\\'" . dnscontrol-mode)) - (autoload 'ansi-color-apply-on-region "ansi-color") (defun colourise-compilation-buffer () (ansi-color-apply-on-region compilation-filter-start (point-max))) @@ -1360,7 +1354,6 @@ (setf (alist-get 'shfmt apheleia-formatters) '("shfmt")) (setq apheleia-formatters (append apheleia-formatters '((nixpkgs-fmt "nixpkgs-fmt") - (dnscontrol "dnscontrol" "fmt") (golines "golines") (taplo "taplo" "format" "-") (prettier-gotmpl