mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-11 13:03:45 -05:00
MacVim GUI 7.4.1832+ supports async diffs.
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
let s:jobs = {}
|
||||
let s:available = has('nvim') || (has('patch-7-4-1826') && !has('gui_running'))
|
||||
|
||||
" MacVim requires 88f4fe0 but that commit doesn't have a specific patch
|
||||
" number. So look for the first subsequent Vim patch.
|
||||
"
|
||||
" gVim doesn't work properly with channels yet as far as I know.
|
||||
let s:available = has('nvim') || (
|
||||
\ (has('gui_macvim') && has('patch-7-4-1832')) ||
|
||||
\ (has('patch-7-4-1826') && !has('gui_running'))
|
||||
\ )
|
||||
|
||||
function! gitgutter#async#available()
|
||||
return s:available
|
||||
|
||||
Reference in New Issue
Block a user