annotate .elisp/settings/90.git-gutter.el @ 388:c35759aceed4

emacs: add a hook to handle ANSI colors in compilation buffers Some tools just blindly assume they're printing to a color-supporting terminal. Since fixing them is probably impractical, we'll just work around their stupidity.
author Augie Fackler <raf@durin42.com>
date Mon, 01 Feb 2016 17:30:54 -0500
parents 7e97572ac429
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
384
7e97572ac429 emacs: start using git-gutter-mode with Mercurial enabled
Augie Fackler <raf@durin42.com>
parents:
diff changeset
1 (require 'git-gutter)
7e97572ac429 emacs: start using git-gutter-mode with Mercurial enabled
Augie Fackler <raf@durin42.com>
parents:
diff changeset
2
7e97572ac429 emacs: start using git-gutter-mode with Mercurial enabled
Augie Fackler <raf@durin42.com>
parents:
diff changeset
3 ;; If you enable global minor mode
7e97572ac429 emacs: start using git-gutter-mode with Mercurial enabled
Augie Fackler <raf@durin42.com>
parents:
diff changeset
4 (global-git-gutter-mode t)
7e97572ac429 emacs: start using git-gutter-mode with Mercurial enabled
Augie Fackler <raf@durin42.com>
parents:
diff changeset
5
7e97572ac429 emacs: start using git-gutter-mode with Mercurial enabled
Augie Fackler <raf@durin42.com>
parents:
diff changeset
6 (setq git-gutter:handled-backends '(git hg))