Add diff-hl-mode

This commit is contained in:
Tom Willemse 2016-08-28 01:19:34 +02:00
parent 77263ce87b
commit 89e280703d

View file

@ -442,6 +442,17 @@ To start off, first I need to enable lexical binding.
'face '(:family "Font Awesome" :height 0.75))) 'face '(:family "Font Awesome" :height 0.75)))
#+END_SRC #+END_SRC
** Diff highlight mode
Show the state of lines added, changed and removed since the last
commit.
#+BEGIN_SRC emacs-lisp
(ensure-library diff-hl)
(require 'diff-hl)
(global-diff-hl-mode)
#+END_SRC
* Major modes * Major modes
** Emacs lisp mode ** Emacs lisp mode