From b440603fa988e2ebcb609d2f61a5539dff4de0f4 Mon Sep 17 00:00:00 2001 From: Michael Reed Date: Sat, 17 Jan 2015 16:38:50 -0500 Subject: [PATCH] Simplify neovim check --- plug.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug.vim b/plug.vim index 3b406b8..b657e0c 100644 --- a/plug.vim +++ b/plug.vim @@ -73,7 +73,7 @@ let s:plug_tab = get(s:, 'plug_tab', -1) let s:plug_buf = get(s:, 'plug_buf', -1) let s:mac_gui = has('gui_macvim') && has('gui_running') let s:is_win = has('win32') || has('win64') -let s:nvim = exists('##JobActivity') && !s:is_win +let s:nvim = has('nvim') && !s:is_win let s:me = resolve(expand(':p')) let s:base_spec = { 'branch': 'master', 'frozen': 0 } let s:TYPE = {