aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/init-indent-guides.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-09-23 16:34:15 -0500
committerJesús <heckyel@hyperbola.info>2018-09-23 16:34:15 -0500
commitcc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4 (patch)
tree801b99a2e629048a04b0d14f3311484c443ca02e /lisp/init-indent-guides.el
parent3ba8cf3d8723969a44ca29162a06432d137c19ff (diff)
downloademacs-base-cc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4.tar.lz
emacs-base-cc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4.tar.xz
emacs-base-cc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4.zip
provide highlight-indent-guide
Diffstat (limited to 'lisp/init-indent-guides.el')
-rw-r--r--lisp/init-indent-guides.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/init-indent-guides.el b/lisp/init-indent-guides.el
new file mode 100644
index 0000000..f2be7ce
--- /dev/null
+++ b/lisp/init-indent-guides.el
@@ -0,0 +1,8 @@
+;; This minor mode highlights indentation levels via font-lock
+(require-package 'highlight-indent-guides)
+
+(setq highlight-indent-guides-method 'character)
+
+(add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
+
+(provide 'init-indent-guides)