mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-22 10:21:26 +08:00
make absolute path.
This commit is contained in:
@@ -1360,6 +1360,9 @@ function! s:zen_imageSize()
|
|||||||
endif
|
endif
|
||||||
let current = s:zen_parseTag(s:get_content(img_region))
|
let current = s:zen_parseTag(s:get_content(img_region))
|
||||||
let fn = current.attr['src']
|
let fn = current.attr['src']
|
||||||
|
if fn !~ '^\(/\|http\)'
|
||||||
|
let fn = simplify(expand('%:h') . '/' . fn)
|
||||||
|
endif
|
||||||
let [w, h] = [-1, -1]
|
let [w, h] = [-1, -1]
|
||||||
|
|
||||||
if has('perl')
|
if has('perl')
|
||||||
|
|||||||
Reference in New Issue
Block a user