forked from VimPlug/emmet-vim
fix test.
This commit is contained in:
@@ -580,6 +580,11 @@ function! zencoding#ExpandWord(abbr, type, orig)
|
||||
for item in items
|
||||
let expand .= zencoding#toString(item, a:type, 0, filters)
|
||||
endfor
|
||||
if zencoding#useFilter(filters, 'e')
|
||||
let expand = substitute(expand, '&', '\&', 'g')
|
||||
let expand = substitute(expand, '<', '\<', 'g')
|
||||
let expand = substitute(expand, '>', '\>', 'g')
|
||||
endif
|
||||
if a:orig == 0
|
||||
let expand = substitute(expand, '\${lang}', s:zen_settings.lang, 'g')
|
||||
let expand = substitute(expand, '\${charset}', s:zen_settings.charset, 'g')
|
||||
|
||||
Reference in New Issue
Block a user