Allow configuration of extra arguments for git-diff.

This commit is contained in:
Andy Stewart
2013-03-20 09:56:45 +01:00
parent 985f5f87dd
commit 948a0fb977
3 changed files with 20 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ You can customise:
- The sign column's colours
- The signs' colours and symbols
- Line highlights
- Extra arguments for git-diff
- Whether or not vim-gitgutter is on initially (defaults to on)
- Whether or not line highlighting is on initially (defaults to off)
- Whether or not vim-gitgutter runs on `BufEnter` (defaults to yes)
@@ -165,6 +166,13 @@ colorscheme or |vimrc|:
GitGutterChangeDeleteLine " default: links to GitGutterChangeLineDefault
<
EXTRA ARGUMENTS FOR GIT-DIFF
To pass extra arguments to git-diff, add this to your |vimrc|:
>
let g:gitgutter_diff_args = '-w'
<
TO TURN OFF VIM-GITGUTTER BY DEFAULT
Add to your |vimrc|