From da342f5eea85e7a5ddc181884f9b447719e469ce Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Fri, 9 Jan 2015 23:03:22 -0500 Subject: [PATCH] Add documentation for git-gutter-use-fringe variable --- contrib/git/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/contrib/git/README.md b/contrib/git/README.md index bda7ad87b..8a6fb4443 100644 --- a/contrib/git/README.md +++ b/contrib/git/README.md @@ -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