Update of /cvsroot/vim-latex/vimfiles/plugin
In directory sc8-pr-cvs1:/tmp/cvs-serv16875
Modified Files:
Tag: b-newimaps
imaps.vim
Log Message:
Bug in the RE for testing whether a string contains a placeholder
substring.
if text !~ '\V'.phs.'\{-}'.phe
should have been:
if text !~ '\V'.phs.'\.\{-}'.phe
Index: imaps.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v
retrieving revision 1.9.2.6
retrieving revision 1.9.2.7
diff -C2 -d -r1.9.2.6 -r1.9.2.7
*** imaps.vim 19 Dec 2002 12:13:59 -0000 1.9.2.6
--- imaps.vim 20 Dec 2002 09:04:22 -0000 1.9.2.7
***************
*** 8,12 ****
" while preserving filetype indentation.
"
! " Last Change: Thu Dec 19 04:00 AM 2002 PST
"
" Documentation: {{{
--- 8,12 ----
" while preserving filetype indentation.
"
! " Last Change: Fri Dec 20 01:00 AM 2002 PST
"
" Documentation: {{{
***************
*** 246,250 ****
" If there are no place holders, just return the text.
! if text !~ '\V'.phs.'\{-}'.phe
return text
endif
--- 246,250 ----
" If there are no place holders, just return the text.
! if text !~ '\V'.phs.'\.\{-}'.phe
return text
endif
|