mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-08 19:44:47 +08:00
remove cursor mark.
This commit is contained in:
@@ -1592,6 +1592,7 @@ function! s:zen_anchorizeURL(flag)
|
|||||||
let a.attr['href'] = url
|
let a.attr['href'] = url
|
||||||
let a.value = '{' . title . '}'
|
let a.value = '{' . title . '}'
|
||||||
let expand = s:zen_toString(a, 'html', 0, '')
|
let expand = s:zen_toString(a, 'html', 0, '')
|
||||||
|
let expand = substitute(expand, '\${cursor}', '', 'g')
|
||||||
else
|
else
|
||||||
let body = strpart(content, stridx(content, '</head>'))
|
let body = strpart(content, stridx(content, '</head>'))
|
||||||
let body = s:get_text_from_html(body)
|
let body = s:get_text_from_html(body)
|
||||||
|
|||||||
Reference in New Issue
Block a user