Add documentation for git-gutter-use-fringe variable

This commit is contained in:
syl20bnr 2015-01-09 23:03:22 -05:00
parent 13ac5b9584
commit da342f5eea

View file

@ -12,6 +12,7 @@
- [Github support](#github-support)
- [Magit status fullscreen](#magit-status-fullscreen)
- [Magit auto-complete](#magit-auto-complete)
- [Git gutter](#git-gutter)
- [Git](#git)
- [Working with Git](#working-with-git)
- [Magit](#magit)
@ -84,6 +85,20 @@ function (the path should end up with a `/` to respect Emacs conventions):
(setq magit-repo-dirs '("~/git/"))
```
### Git gutter
In graphical environment `Spacemacs` will display [git-gutter][] icons in
the fringe by default.
It is possible to disable the usage of the fringe by setting the variable
`git-gutter-use-fringe` to `nil` in the `dotspacemacs/init` function:
```elisp
(defun dotspacemacs/init ()
(setq-default git-gutter-use-fringe nil)
)
```
### Git
Of course if your OS does not ship with git (!) you'll have to install it