all repos — nixfiles @ ce1c1e08f1b50e70f2c0f62ebf6704b719df35eb

System and user configuration, managed by nix and home-manager

emacs: remove derived dnscontrol-mode now unnecessary as dnscontrol files can be formatted with any typical formatter

Alan Pearce
commit

ce1c1e08f1b50e70f2c0f62ebf6704b719df35eb

parent

e3871012667d77f0e5e9f5dd8e7e49a076f71b5f

1 file changed, 0 insertions(+), 7 deletions(-)

jump to
M user/emacs/init.eluser/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