mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Asynchronous diffs in Vim.
This commit is contained in:
@@ -5,7 +5,8 @@ A Vim plugin which shows a git diff in the 'gutter' (sign column). It shows whe
|
||||
Features:
|
||||
|
||||
* Shows signs for added, modified, and removed lines.
|
||||
* Neovim: runs the diffs asynchronously.
|
||||
* Runs the diffs asynchronously in Vim (7.4.1791+) and NeoVim.
|
||||
- MacVim in GUI mode runs synchronously because it doesn't support Vim's async operations yet ([macvim#272](/macvim-dev/macvim/issues/272)).
|
||||
* Ensures signs are always as up to date as possible (but without running more than necessary).
|
||||
* Quick jumping between blocks of changed lines ("hunks").
|
||||
* Stage/undo/preview individual hunks.
|
||||
@@ -202,7 +203,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)
|
||||
* Whether or not vim-gitgutter runs asynchronously (defaults to yes)
|
||||
|
||||
Please note that vim-gitgutter won't override any colours or highlights you've set in your colorscheme.
|
||||
|
||||
@@ -317,7 +318,7 @@ Add `let g:gitgutter_highlight_lines = 1` to your `~/.vimrc`.
|
||||
|
||||
#### To turn off asynchronous updates
|
||||
|
||||
By default diffs are run asynchronously in NeoVim. To run diffs synchronously instead:
|
||||
By default diffs are run asynchronously. To run diffs synchronously instead:
|
||||
|
||||
```viml
|
||||
let g:gitgutter_async = 0
|
||||
|
||||
Reference in New Issue
Block a user