Only load systemd-mode for specific file types

This commit is contained in:
Gergely Polonkai 2023-10-20 12:12:28 +02:00
parent 6987cb93dc
commit c39e8c2bbf
No known key found for this signature in database
GPG Key ID: 2D2885533B869ED4
1 changed files with 2 additions and 1 deletions

View File

@ -2994,7 +2994,8 @@ Because thats still my favourite language.
** ~systemd~, for editing systemd unit files
#+begin_src emacs-lisp
(use-package systemd)
(use-package systemd
:mode ("\\.\\(?:automount\\|mount\\|path\\|s\\(?:ervice\\|lice\\|ocket\\)\\|t\\(?:arget\\|imer\\)\\|wants\\)\\'" . systemd-mode))
#+end_src
** ~terraform-mode~