- Fixed error.

This commit is contained in:
Shougo Matsushita 2012-03-15 18:05:50 +09:00
parent 2732687aaf
commit a0bff2e441

View File

@ -766,7 +766,7 @@ function! s:search_sync_placeholder(start, end, number)"{{{
\ substitute(s:get_placeholder_marker_pattern(),
\ '\\d\\+', '\\zs\\d\\+\\ze', ''))
return search(substitute(
\ s:get_mirror_placeholder_marker_pattern()
\ s:get_mirror_placeholder_marker_pattern(),
\ '\\d\\+', cnt, ''), 'nw') > 0 ? cnt : 0
endif