From: Amin Bandali Date: Sun, 2 Sep 2018 18:43:26 +0000 (-0400) Subject: [emacs] assimilate highlight-indent-guides X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/0fbb9f4e96583667f5905f4314a75ab99559fb80 [emacs] assimilate highlight-indent-guides --- diff --git a/.gitmodules b/.gitmodules index 43fef81..8e4e870 100644 --- a/.gitmodules +++ b/.gitmodules @@ -101,6 +101,9 @@ [submodule "helpful"] path = lib/helpful url = git@github.com:Wilfred/helpful.git +[submodule "highlight-indent-guides"] + path = lib/highlight-indent-guides + url = git@github.com:DarthFennec/highlight-indent-guides.git [submodule "hlint-refactor"] path = lib/hlint-refactor url = git@github.com:mpickering/hlint-refactor-mode.git diff --git a/init.org b/init.org index 2173871..206b6be 100644 --- a/init.org +++ b/init.org @@ -1371,6 +1371,22 @@ Make =*scratch*= and =*Messages*= unkillable. Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. +** [[https://github.com/DarthFennec/highlight-indent-guides][highlight-indent-guides]] + +#+begin_src emacs-lisp +(use-package highlight-indent-guides + :demand t + :hook ((prog-mode . highlight-indent-guides-mode) + (org-mode . highlight-indent-guides-mode)) + :config + (setq highlight-indent-guides-character ?\|) + (setq highlight-indent-guides-auto-enabled nil) + (setq highlight-indent-guides-method 'character) + (setq highlight-indent-guides-responsive 'top) + (set-face-foreground 'highlight-indent-guides-character-face "gainsboro") + (set-face-foreground 'highlight-indent-guides-top-character-face "grey40")) ; grey13 is nice too +#+end_src + * Email ** [[https://notmuchmail.org][notmuch]] diff --git a/lib/highlight-indent-guides b/lib/highlight-indent-guides new file mode 160000 index 0000000..895181e --- /dev/null +++ b/lib/highlight-indent-guides @@ -0,0 +1 @@ +Subproject commit 895181ec53a07dfef2b7183d8477454ca2606d0e