summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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