]> code.delx.au - dotemacs/commitdiff
Switch indent-guide for highlight-indent-guides
authorJames Bunton <jamesbunton@delx.net.au>
Fri, 26 Oct 2018 03:47:50 +0000 (14:47 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Fri, 26 Oct 2018 03:47:50 +0000 (14:47 +1100)
.gitmodules
lisp/my-minor-modes.el
packages/highlight-indent-guides [new submodule]
packages/indent-guide [deleted submodule]

index 49eca881588693c2bac27274b72518c5a832e847..6fb1086f3e0664ef5c6d3f781335042d4c9b298b 100644 (file)
@@ -25,9 +25,6 @@
 [submodule "yasnippet"]
        path = packages/yasnippet
        url = https://github.com/joaotavora/yasnippet.git
 [submodule "yasnippet"]
        path = packages/yasnippet
        url = https://github.com/joaotavora/yasnippet.git
-[submodule "indent-guide"]
-       path = packages/indent-guide
-       url = https://github.com/zk-phi/indent-guide.git
 [submodule "expand-region"]
        path = packages/expand-region
        url = https://github.com/magnars/expand-region.el.git
 [submodule "expand-region"]
        path = packages/expand-region
        url = https://github.com/magnars/expand-region.el.git
 [submodule "tide"]
        path = packages/tide
        url = https://github.com/ananthakumaran/tide.git
 [submodule "tide"]
        path = packages/tide
        url = https://github.com/ananthakumaran/tide.git
+[submodule "highlight-indent-guides"]
+       path = packages/highlight-indent-guides
+       url = https://github.com/DarthFennec/highlight-indent-guides.git
index 40de35d1086ee1a847a50a9d2ae1d82514a884c3..0c994d512ce92fbd6520d44b12df3ac6d61bfa25 100644 (file)
 
 (require 'goto-chg)
 
 
 (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 '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 'hl-todo)
 (global-hl-todo-mode)
 
-(require 'indent-guide)
-(indent-guide-global-mode)
-(setq indent-guide-recursive t)
-
 (require 'jump-char)
 
 (require 'flyspell)
 (require 'jump-char)
 
 (require 'flyspell)
@@ -80,6 +81,6 @@
             (diminish 'editorconfig-mode)
             (diminish 'git-gutter-mode)
             (diminish 'highlight-symbol-mode)
             (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)))
             (diminish 'ivy-mode)
             (diminish 'yas-minor-mode)))
diff --git a/packages/highlight-indent-guides b/packages/highlight-indent-guides
new file mode 160000 (submodule)
index 0000000..e463564
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit e46356487d4b19144af3025cf16f1b1bd174a450
diff --git a/packages/indent-guide b/packages/indent-guide
deleted file mode 160000 (submodule)
index d64f430..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit d64f43011c72068e008621e620009ec592b35913