Add g:gitgutter_terminal_reports_focus to enable FocusGained workaround.

See #490.
This commit is contained in:
Andy Stewart
2018-02-28 15:09:36 +00:00
parent 4a66a09658
commit c39a5c240a
3 changed files with 30 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ Features:
Constraints:
* Supports git only. If you work with other version control systems, I recommend [vim-signify](https://github.com/mhinz/vim-signify).
* Relies on the `FocusGained` event. If your terminal doesn't report focus events, I suggest using something like [Terminus][].
* Relies on the `FocusGained` event. If your terminal doesn't report focus events, either use something like [Terminus][] or set `let g:gitgutter_terminal_reports_focus=0`.
### Screenshot
@@ -506,7 +506,7 @@ Here are some things you can check:
#### When signs don't update after focusing Vim
* Your terminal probably isn't reporting focus events. Try installing [Terminus][].
* Your terminal probably isn't reporting focus events. Either try installing [Terminus][] or set `let g:gitgutter_terminal_reports_focus=0`.
### Shameless Plug