From 8a9c2cd93654f90cee58fe14c94e365ebea9eca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 13 Dec 2020 13:56:27 +0100 Subject: [PATCH] Updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .emacs.d/init.el | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e2cbaa1..c1618f1 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -161,13 +161,21 @@ ;; Docker (use-package dockerfile-mode - :defer t) + :ensure t + :defer t) ;; YAML (use-package yaml-mode - :mode "\\.yml\\'") -(add-hook 'yaml-mode-hook 'flymake-yaml-load) - + :ensure t + :mode + ( + ("\\.yml\\'" . yaml-mode) + ) + :hook + ( + (yaml-mode-hook . flymake-yaml-load) + ) + ) ;; Git (global-set-key (kbd "C-x g") 'magit-status)