mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Vim: explicitly check for job support.
This commit is contained in:
@@ -10,9 +10,11 @@ let s:jobs = {}
|
|||||||
" MacVim-GUI didn't support async until 7.4.1832 (actually commit
|
" MacVim-GUI didn't support async until 7.4.1832 (actually commit
|
||||||
" 88f4fe0 but 7.4.1832 was the first subsequent patch release).
|
" 88f4fe0 but 7.4.1832 was the first subsequent patch release).
|
||||||
let s:available = has('nvim') || (
|
let s:available = has('nvim') || (
|
||||||
\ (has('patch-7-4-1826') && !has('gui_running')) ||
|
\ has('job') && (
|
||||||
\ (has('patch-7-4-1850') && has('gui_running')) ||
|
\ (has('patch-7-4-1826') && !has('gui_running')) ||
|
||||||
\ (has('patch-7-4-1832') && has('gui_macvim'))
|
\ (has('patch-7-4-1850') && has('gui_running')) ||
|
||||||
|
\ (has('patch-7-4-1832') && has('gui_macvim'))
|
||||||
|
\ )
|
||||||
\ )
|
\ )
|
||||||
|
|
||||||
function! gitgutter#async#available()
|
function! gitgutter#async#available()
|
||||||
|
|||||||
Reference in New Issue
Block a user