summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <amin@gnu.org>2018-09-02 14:43:26 -0400
committerAmin Bandali <amin@gnu.org>2018-09-02 14:43:26 -0400
commit0fbb9f4e96583667f5905f4314a75ab99559fb80 (patch)
tree08bc6c40f911bb2017d90833668a333ac29d8a96
parent2090f4091f27ea6efc16176ebf0fadfdc2a33e0e (diff)
downloadconfigs-0fbb9f4e96583667f5905f4314a75ab99559fb80.tar.gz
configs-0fbb9f4e96583667f5905f4314a75ab99559fb80.tar.xz
configs-0fbb9f4e96583667f5905f4314a75ab99559fb80.zip
[emacs] assimilate highlight-indent-guides
-rw-r--r--.gitmodules3
-rw-r--r--init.org16
m---------lib/highlight-indent-guides0
3 files changed, 19 insertions, 0 deletions
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
+Subproject 895181ec53a07dfef2b7183d8477454ca2606d0