From 46fd337636ff901948ed91c8cc837ab746ff4093 Mon Sep 17 00:00:00 2001 From: mattn Date: Tue, 9 Mar 2010 02:44:35 +0900 Subject: [PATCH] remove cursor. --- zencoding.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zencoding.vim b/zencoding.vim index 498a591..b1d71c5 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -1610,7 +1610,7 @@ function! s:zen_anchorizeURL(flag) let cite.value = '{' . url . '}' call add(blockquote.child, cite) 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 expand = substitute(expand, "\n", "\n" . indent, 'g') endif @@ -1711,7 +1711,7 @@ function! ZenCompleteTag(findstart, base) if has_key(s:zen_settings[type], 'aliases') for item in values(s:zen_settings[type].aliases) if stridx(item, a:base) != -1 - call add(res, substitute(item, '|', '', 'g')) + call add(res, substitute(item, '\${cursor}', '', 'g')) endif endfor endif