aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-06-21 01:59:30 +0100
committerdx <aryadevchavali1@gmail.com>2020-06-21 01:59:30 +0100
commit477dd733141bbedb83aa9f23f2af13b5d3fc9f16 (patch)
tree1625ecf576b9b5211306f500e24cd961f57e1eb0 /Emacs
parent386614165ebd537cb106791ca7f34b5e08ba7baf (diff)
downloaddotfiles-477dd733141bbedb83aa9f23f2af13b5d3fc9f16.tar.gz
dotfiles-477dd733141bbedb83aa9f23f2af13b5d3fc9f16.tar.bz2
dotfiles-477dd733141bbedb83aa9f23f2af13b5d3fc9f16.zip
+add hook to prog-mode-hook to turn on hs-minor-mode
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/init.el3
1 files changed, 1 insertions, 2 deletions
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