diff options
author | Amin Bandali <bandali@gnu.org> | 2020-04-13 12:09:56 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2020-04-13 12:09:56 -0400 |
commit | 5750405c72761414854658f5f8b227cb9c16ee8f (patch) | |
tree | c69fbc112f4860a7ea51b2734818f7b0b905f9ab | |
parent | 39c1c07363abeeca1c13f257fdacf0eb0851ac1f (diff) | |
download | configs-5750405c72761414854658f5f8b227cb9c16ee8f.tar.gz configs-5750405c72761414854658f5f8b227cb9c16ee8f.tar.xz configs-5750405c72761414854658f5f8b227cb9c16ee8f.zip |
Assimilate diff-hl 1.8.7-10-ga625033
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | init.el | 7 | ||||
m--------- | lib/diff-hl | 0 |
3 files changed, 8 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules index 7aad07e..c500cfb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -18,6 +18,9 @@ # that the submodule is dirty. so, let's ignore the untracked # files of dash's submodule ignore = untracked +[submodule "diff-hl"] + path = lib/diff-hl + url = https://github.com/dgutov/diff-hl.git [submodule "ebdb"] path = lib/ebdb url = https://github.com/girzel/ebdb.git @@ -656,14 +656,16 @@ For disabling the behaviour for certain buffers and/or modes." ;;; Editing -(comment + ;; highlight uncommitted changes in the left fringe (use-package diff-hl :defer 0.6 :config (setq diff-hl-draw-borders nil) (global-diff-hl-mode) - :hook (magit-post-refresh . diff-hl-magit-post-refresh)) + :hook + ((magit-pre-refresh . diff-hl-magit-pre-refresh) + (magit-post-refresh . diff-hl-magit-post-refresh))) ;; display Lisp objects at point in the echo area (use-package eldoc @@ -735,6 +737,7 @@ For disabling the behaviour for certain buffers and/or modes." ;; (global-company-mode t) ) +(comment (use-package flycheck :defer 0.6 :hook (prog-mode . flycheck-mode) diff --git a/lib/diff-hl b/lib/diff-hl new file mode 160000 +Subproject a625033fb1dde83f6e4c2fc21f632b22ec34b60 |