From ecf5b1e58858ac09f0de15912c2e8a3eb9e76322 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 25 Mar 2017 11:18:51 -0700 Subject: [PATCH] [Emacs] Add systemd syntax highlighting --- dotfiles/emacs.d/README.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index e5cd390e..2bd71b5c 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -3647,6 +3647,17 @@ alphanumeric characters only." (use-package jq-mode :mode "\\.jq\\'") #+END_SRC +*** systemd +#+BEGIN_SRC emacs-lisp +(use-package systemd + :commands systemd-mode + :preface + (ignore + (add-to-list 'auto-mode-alist + '("\\.service\\'" . systemd-mode)) + (add-to-list 'auto-mode-alist + '("\\.socket\\'" . systemd-mode)))) +#+END_SRC * Source Control ** magit #+BEGIN_SRC emacs-lisp