From 35815b5e0feae455bf58aeaa34e77df3ea91c0c6 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 2 Apr 2020 15:33:53 -0400 Subject: [PATCH] Enable show-trailing-whitespace in yaml mode --- .emacs.d/init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 65db5d6..90b6ff4 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -303,6 +303,11 @@ (setq ns-command-modifier 'hyper) (server-start)) +(use-package yaml-mode + :config + (add-hook 'yaml-mode-hook + #'(lambda () (setq-local show-trailing-whitespace t)))) + ;;;; external packages (required) (use-package delight :ensure :demand)