forked from VimPlug/emmet-vim
Add new option g:emmet_docroot to specify map of document root.
let emmet_docroot = {
\ 'c:/dev/vim-jp.github.com/': 'http://vim-jp.org/',
\ 'c:/dev/mattn/': 'http://mattn.kaoriya.net/',
\}
When getting image size of '/path/to/file.jpg' and current html file is
'c:/dev/mattn/foo/bar/index.html', the image file will be treated as:
http://mattn.kaoriya.net/path/to/file.jpg
This commit is contained in:
@@ -78,6 +78,10 @@ if !exists('g:emmet_html5')
|
||||
let g:emmet_html5 = 1
|
||||
endif
|
||||
|
||||
if !exists('g:emmet_docroot')
|
||||
let g:emmet_docroot = {}
|
||||
endif
|
||||
|
||||
if !exists('g:emmet_debug')
|
||||
let g:emmet_debug = 0
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user