diff options
-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 |