Restrict async diffing in Vim to terminal Vim.

MacVim in GUI mode and gVim don't process the callbacks reliably (or at
all) yet.
This commit is contained in:
Andy Stewart
2016-05-12 10:22:43 +01:00
parent ea5d4cbeaf
commit 882073f4b5
2 changed files with 2 additions and 5 deletions

View File

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