aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/init-indent-guides.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-10-26 23:27:56 -0500
committerJesús <heckyel@hyperbola.info>2018-10-26 23:27:56 -0500
commitaaa86c4187942abc0869a133e917dbf32b95bb6b (patch)
tree81b70622b1133001482b99323b24797f15a6126c /lisp/init-indent-guides.el
parent4a3d8a46f926bc810238ec32d7141b3c965abbd9 (diff)
downloademacs-personal-aaa86c4187942abc0869a133e917dbf32b95bb6b.tar.lz
emacs-personal-aaa86c4187942abc0869a133e917dbf32b95bb6b.tar.xz
emacs-personal-aaa86c4187942abc0869a133e917dbf32b95bb6b.zip
single syntax with «use-package»
Diffstat (limited to 'lisp/init-indent-guides.el')
-rw-r--r--lisp/init-indent-guides.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/init-indent-guides.el b/lisp/init-indent-guides.el
index 508fd65..221c7ca 100644
--- a/lisp/init-indent-guides.el
+++ b/lisp/init-indent-guides.el
@@ -1,8 +1,10 @@
;; This minor mode highlights indentation levels via font-lock
-(use-package highlight-indent-guides)
-(setq highlight-indent-guides-method 'character)
-
-(add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
+(use-package highlight-indent-guides
+ :config
+ (setq highlight-indent-guides-method 'character)
+ ;; Indent character samples: fill, column or character
+ (setq highlight-indent-guides-method 'character)
+ (add-hook 'prog-mode-hook 'highlight-indent-guides-mode))
(provide 'init-indent-guides)