mirror of
https://github.com/mattn/emmet-vim.git
synced 2026-10-13 00:10:14 +08:00
Fixes #133
This commit is contained in:
1 parent
455f6f5760
commit
7fb711c257
4 files changed
+22
-8
No files matched your search
@@ -444,7 +444,10 @@ function! emmet#lang#html#imageSize()
|
||||
if fn =~ '^\s*$'
|
||||
return
|
||||
elseif fn !~ '^\(/\|http\)'
|
||||
let fn = simplify(expand('%:h') . '/' . fn)
|
||||
let fn = resolve(expand(fn))
|
||||
if !filereadable(fn)
|
||||
let fn = simplify(expand('%:h') . '/' . fn)
|
||||
endif
|
||||
endif
|
||||
|
||||
let [width, height] = emmet#util#getImageSize(fn)
|
||||
|
||||
Reference in new issue
Block a user