Add option to disable asynchronous diffs.

Closes #318.
This commit is contained in:
Andy Stewart
2016-04-21 10:29:11 +01:00
parent cc77f32b5b
commit 530bf68fca
4 changed files with 22 additions and 1 deletions

View File

@@ -126,6 +126,7 @@ You can customise:
- Whether or not line highlighting is on initially (defaults to off)
- Whether or not vim-gitgutter runs in realtime (defaults to yes)
- Whether or not vim-gitgutter runs eagerly (defaults to yes)
- Whether or not vim-gitgutter runs asynchronously in NeoVim (defaults to yes)
Please note that vim-gitgutter won't override any colours or highlights you've
set in your colorscheme.
@@ -266,6 +267,15 @@ Add to your |vimrc|
let g:gitgutter_eager = 0
<
TO TURN OFF ASYNCHRONOUS UPDATES
By default diffs are run asynchronously in NeoVim. To run diffs synchronously
instead:
Add to your |vimrc|
>
let g:gitgutter_async = 0
<
===============================================================================
6. FAQ *GitGutterFAQ*