From 9399609fd8b1765377e2c63592d64829e3cc02e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 25 Dec 2014 15:30:55 +0100 Subject: [PATCH] Updated MacOS check --- autoload/latex/util.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/latex/util.vim b/autoload/latex/util.vim index 0e83b9f..6d1c8e7 100644 --- a/autoload/latex/util.vim +++ b/autoload/latex/util.vim @@ -344,7 +344,7 @@ endfunction function! latex#util#set_vim_executable() " {{{1 if exists('g:latex_vim_executable') | return | endif - if exists('mac') + if has('macunix') || has('gui_mac') let g:latex_vim_executable = 'mvim' else let g:latex_vim_executable = 'vim'