summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2025-03-23 23:01:51 +0100
committerAlan Pearce2025-03-23 23:01:51 +0100
commitce1c1e08f1b50e70f2c0f62ebf6704b719df35eb (patch)
tree07b39f6baf5f58ba270ab636bdd26a4d4f13867d /user/emacs
parente3871012667d77f0e5e9f5dd8e7e49a076f71b5f (diff)
downloadnixfiles-ce1c1e08f1b50e70f2c0f62ebf6704b719df35eb.tar.lz
nixfiles-ce1c1e08f1b50e70f2c0f62ebf6704b719df35eb.tar.zst
nixfiles-ce1c1e08f1b50e70f2c0f62ebf6704b719df35eb.zip
emacs: remove derived dnscontrol-mode
now unnecessary as dnscontrol files can be formatted with any typical formatter
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 11800e24..e95600e0 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -911,12 +911,6 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 (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 @@ paths for the same project."
                   '("shfmt"))
             (setq apheleia-formatters
                   (append apheleia-formatters '((nixpkgs-fmt "nixpkgs-fmt")
-                                                (dnscontrol "dnscontrol" "fmt")
                                                 (golines "golines")
                                                 (taplo "taplo" "format" "-")
                                                 (prettier-gotmpl