Add systemd stuff

This commit is contained in:
2025-11-28 16:50:07 -08:00
parent 114553abb1
commit 5a8d7c4a6e

View File

@ -210,6 +210,10 @@
comment-multi-line t
comment-empty-lines 'eol)
(add-to-list 'auto-mode-alist '("\\.[cC][nN][fF]\\'" . conf-mode))
(add-to-list 'auto-mode-alist `(,(rx "." (or "service" "timer" "target"
"socket" "slice" "mount")
eos)
. conf-mode))
(keymap-set emacs-lisp-mode-map "C-c C-r" #'eval-region)
(defun my/-fix-emacs-lisp-mode-system-files ()
(when (string-prefix-p lisp-directory buffer-file-name)
@ -1931,7 +1935,7 @@ MAPS are expected to be keymaps for modes for languages with C-style comments."
parent-bol java-ts-mode-indent-offset)
(nthcdr 1 rules))))))
;; haskell-ts-mode
;; Haskell
(use-package haskell-ts-mode
:hook (haskell-ts-mode . my/eglot-if-trusted)
:custom