forked from VimPlug/emmet-vim
remove cursor.
This commit is contained in:
@@ -1610,7 +1610,7 @@ function! s:zen_anchorizeURL(flag)
|
|||||||
let cite.value = '{' . url . '}'
|
let cite.value = '{' . url . '}'
|
||||||
call add(blockquote.child, cite)
|
call add(blockquote.child, cite)
|
||||||
let expand = s:zen_toString(blockquote, 'html', 0, '')
|
let expand = s:zen_toString(blockquote, 'html', 0, '')
|
||||||
let expand = substitute(expand, '|', '', 'g')
|
let expand = substitute(expand, '\${cursor}', '', 'g')
|
||||||
let indent = substitute(getline('.'), '^\(\s*\).*', '\1', '')
|
let indent = substitute(getline('.'), '^\(\s*\).*', '\1', '')
|
||||||
let expand = substitute(expand, "\n", "\n" . indent, 'g')
|
let expand = substitute(expand, "\n", "\n" . indent, 'g')
|
||||||
endif
|
endif
|
||||||
@@ -1711,7 +1711,7 @@ function! ZenCompleteTag(findstart, base)
|
|||||||
if has_key(s:zen_settings[type], 'aliases')
|
if has_key(s:zen_settings[type], 'aliases')
|
||||||
for item in values(s:zen_settings[type].aliases)
|
for item in values(s:zen_settings[type].aliases)
|
||||||
if stridx(item, a:base) != -1
|
if stridx(item, a:base) != -1
|
||||||
call add(res, substitute(item, '|', '', 'g'))
|
call add(res, substitute(item, '\${cursor}', '', 'g'))
|
||||||
endif
|
endif
|
||||||
endfor
|
endfor
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user