mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-08 03:24:45 +08:00
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
|
endfunction
|
||||||
|
|
||||||
function! zencoding#util#isImageMagickInstalled()
|
function! zencoding#util#isImageMagickInstalled()
|
||||||
return !(empty(system('command identify')))
|
return executable('identify')
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user