From 477dd733141bbedb83aa9f23f2af13b5d3fc9f16 Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 21 Jun 2020 01:59:30 +0100 Subject: +add hook to prog-mode-hook to turn on hs-minor-mode --- Emacs/.config/emacs/init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Emacs/.config/emacs/init.el') diff --git a/Emacs/.config/emacs/init.el b/Emacs/.config/emacs/init.el index abc0185..54a38df 100644 --- a/Emacs/.config/emacs/init.el +++ b/Emacs/.config/emacs/init.el @@ -20,8 +20,7 @@ (tool-bar-mode -1) (scroll-bar-mode -1) (tab-bar-mode -1) -(hs-minor-mode +1) - +(add-hook 'prog-mode-hook #'hs-minor-mode) (load-theme 'tango-dark) (use-package evil -- cgit v1.2.3-13-gbd6f