Require Vim 7.4.1826 for async Vim.

This commit is contained in:
Andy Stewart
2016-05-09 16:54:41 +01:00
parent 72d100517a
commit 0e490ec830
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ A Vim plugin which shows a git diff in the 'gutter' (sign column). It shows whe
Features: Features:
* Shows signs for added, modified, and removed lines. * Shows signs for added, modified, and removed lines.
* Runs the diffs asynchronously in Vim (7.4.1791+) and NeoVim. * Runs the diffs asynchronously in Vim (7.4.1826+) and NeoVim.
- MacVim in GUI mode runs synchronously because it doesn't support Vim's async operations yet ([macvim#272](https://github.com/macvim-dev/macvim/issues/272)). - MacVim in GUI mode runs synchronously because it doesn't support Vim's async operations yet ([macvim#272](https://github.com/macvim-dev/macvim/issues/272)).
* Ensures signs are always as up to date as possible (but without running more than necessary). * Ensures signs are always as up to date as possible (but without running more than necessary).
* Quick jumping between blocks of changed lines ("hunks"). * Quick jumping between blocks of changed lines ("hunks").

View File

@@ -1,7 +1,7 @@
let s:jobs = {} let s:jobs = {}
" Async broken on MacVim in GUI mode: " Async broken on MacVim in GUI mode:
" https://github.com/macvim-dev/macvim/issues/272 " https://github.com/macvim-dev/macvim/issues/272
let s:available = has('nvim') || (has('patch-7-4-1810') && !(has('gui_macvim') && has('gui_running'))) let s:available = has('nvim') || (has('patch-7-4-1826') && !(has('gui_macvim') && has('gui_running')))
function! gitgutter#async#available() function! gitgutter#async#available()
return s:available return s:available