Only load systemd-mode for specific file types
This commit is contained in:
parent
6987cb93dc
commit
c39e8c2bbf
@ -2994,7 +2994,8 @@ Because that’s still my favourite language.
|
|||||||
** ~systemd~, for editing systemd unit files
|
** ~systemd~, for editing systemd unit files
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+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
|
#+end_src
|
||||||
|
|
||||||
** ~terraform-mode~
|
** ~terraform-mode~
|
||||||
|
Loading…
Reference in New Issue
Block a user