Updated MacOS check

This commit is contained in:
Karl Yngve Lervåg 2014-12-25 15:30:55 +01:00
parent 8266531eb5
commit 9399609fd8

View File

@ -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'