- Fixed error.

This commit is contained in:
Shougo Matsushita 2012-03-15 20:06:20 +09:00
parent 7d33bf8058
commit ae564154f4

View File

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