diff options
author | Jesús <heckyel@hyperbola.info> | 2018-09-23 16:34:15 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-09-23 16:34:15 -0500 |
commit | cc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4 (patch) | |
tree | 801b99a2e629048a04b0d14f3311484c443ca02e | |
parent | 3ba8cf3d8723969a44ca29162a06432d137c19ff (diff) | |
download | emacs-base-cc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4.tar.lz emacs-base-cc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4.tar.xz emacs-base-cc7ea1dcc94cc43e99275b37a711f8fbf21ccfe4.zip |
provide highlight-indent-guide
-rw-r--r-- | custom.el | 3 | ||||
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | lisp/init-indent-guides.el | 8 |
3 files changed, 10 insertions, 2 deletions
@@ -1,4 +1,3 @@ - (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -11,7 +10,7 @@ '(anzu-search-threshold 1000) '(package-selected-packages (quote - (rainbow-mode scss-mode sass-mode less-css-mode ac-php smarty-mode php-mode pkgbuild-mode markdown-mode flycheck anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line nlinum sublime-themes)))) + (rainbow-mode scss-mode sass-mode less-css-mode ac-php smarty-mode php-mode pkgbuild-mode markdown-mode flycheck highlight-indent-guides anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line nlinum sublime-themes)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. @@ -34,6 +34,7 @@ (require 'init-gui) (require 'init-editing-utils) (require 'init-modeline) +(require 'init-indent-guides) ;; Tools (require 'init-flycheck) ;; Languages 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) |