]> code.delx.au - dotemacs/blobdiff - lisp/my-minor-modes.el
Switch indent-guide for highlight-indent-guides
[dotemacs] / lisp / my-minor-modes.el
index 40de35d1086ee1a847a50a9d2ae1d82514a884c3..0c994d512ce92fbd6520d44b12df3ac6d61bfa25 100644 (file)
 
 (require 'goto-chg)
 
+(require 'highlight-indent-guides)
+(add-hook 'prog-mode-hook 'highlight-indent-guides-mode)
+(setq highlight-indent-guides-method 'character)
+(setq highlight-indent-guides-responsive 'top)
+
 (require 'highlight-symbol)
 (add-hook 'prog-mode-hook #'highlight-symbol-mode)
 (add-hook 'prog-mode-hook #'highlight-symbol-nav-mode)
 (require 'hl-todo)
 (global-hl-todo-mode)
 
-(require 'indent-guide)
-(indent-guide-global-mode)
-(setq indent-guide-recursive t)
-
 (require 'jump-char)
 
 (require 'flyspell)
@@ -80,6 +81,6 @@
             (diminish 'editorconfig-mode)
             (diminish 'git-gutter-mode)
             (diminish 'highlight-symbol-mode)
-            (diminish 'indent-guide-mode)
+            (diminish 'highlight-indent-guides-mode)
             (diminish 'ivy-mode)
             (diminish 'yas-minor-mode)))