- Fixed substitute pattern bug.

This commit is contained in:
Shougo Matsushita 2012-03-23 12:14:13 +09:00
parent 809060696c
commit 35a112de90
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
"=============================================================================
" FILE: snippets_complete.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 19 Mar 2012.
" Last Modified: 23 Mar 2012.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
@ -796,7 +796,7 @@ function! s:search_sync_placeholder(start, end, number)"{{{
\ '\\d\\+', a:number, '')
for line in filter(range(a:start, a:end),
\ 'getline(v:val) =~ pattern')
return 1
return a:number
endfor
return 0

View File

@ -295,6 +295,9 @@ snippet *neocomplcache-snippets-complete-unite-action-snippet*
==============================================================================
CHANGELOG *neocomplcache-snippets-complete-changelog*
2012-03-23
- Fixed substitute pattern bug.
2012-03-19
- Fixed substitute marker.