mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 19:43:47 -05:00
@@ -215,6 +215,7 @@ By default the signs are updated as follows:
|
|||||||
| Switch buffer | To notice change to git index | `g:gitgutter_eager` |
|
| Switch buffer | To notice change to git index | `g:gitgutter_eager` |
|
||||||
| Switch tab | To notice change to git index | `g:gitgutter_eager` |
|
| Switch tab | To notice change to git index | `g:gitgutter_eager` |
|
||||||
| Focus the GUI | To notice change to git index | `g:gitgutter_eager` (not gVim on Windows) |
|
| Focus the GUI | To notice change to git index | `g:gitgutter_eager` (not gVim on Windows) |
|
||||||
|
| After shell command | To notice change to git index | `g:gitgutter_eager` |
|
||||||
| Read a file into a buffer | To display initial signs | [always] |
|
| Read a file into a buffer | To display initial signs | [always] |
|
||||||
| Save a buffer | So non-realtime signs are up to date | [always] |
|
| Save a buffer | So non-realtime signs are up to date | [always] |
|
||||||
| Change a file outside Vim | To notice `git stash` | [always] |
|
| Change a file outside Vim | To notice `git stash` | [always] |
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ augroup gitgutter
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if g:gitgutter_eager
|
if g:gitgutter_eager
|
||||||
autocmd BufWritePost,FileChangedShellPost * call gitgutter#process_buffer(bufnr(''), 0)
|
autocmd BufWritePost,FileChangedShellPost,ShellCmdPost * call gitgutter#process_buffer(bufnr(''), 0)
|
||||||
|
|
||||||
autocmd BufEnter *
|
autocmd BufEnter *
|
||||||
\ if gettabvar(tabpagenr(), 'gitgutter_didtabenter') |
|
\ if gettabvar(tabpagenr(), 'gitgutter_didtabenter') |
|
||||||
|
|||||||
Reference in New Issue
Block a user