forked from VimPlug/emmet-vim
Use function 'executable' to check if command 'identify' is available
This commit is contained in:
@@ -242,5 +242,5 @@ function! zencoding#util#imageSizeWithImageMagick(fn)
|
||||
endfunction
|
||||
|
||||
function! zencoding#util#isImageMagickInstalled()
|
||||
return !(empty(system('command identify')))
|
||||
return executable('identify')
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user