mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-11-03 09:27:29 +08:00
Fixes errors on lint. #236
This commit is contained in:
1 parent
4b17969f5a
commit
8b703a0a00
6 files changed
+26
-32
No files matched your search
@@ -283,7 +283,6 @@ function! emmet#util#getImageSize(fn)
|
||||
endfunction
|
||||
|
||||
function! emmet#util#imageSizeWithImageMagick(fn)
|
||||
let fn = a:fn
|
||||
let img_info = system('identify -format "%wx%h" "'.a:fn.'"')
|
||||
let img_size = split(substitute(img_info, '\n', '', ''), 'x')
|
||||
if len(img_size) != 2
|
||||
|
||||
Reference in new issue
Block a user