Update of /cvsroot/vim-latex/vimfiles/plugin
In directory usw-pr-cvs1:/tmp/cvs-serv26534
Modified Files:
imaps.vim
Log Message:
. also checking for g:Imap_Place... when choosing the beginning and end
place holder characters.
Index: imaps.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** imaps.vim 2 May 2002 02:26:00 -0000 1.2
--- imaps.vim 2 Nov 2002 02:55:17 -0000 1.3
***************
*** 5,9 ****
" Description: insert mode template expander with cursor placement
" while preserving filetype indentation.
! " Last Change: Wed May 01 07:00 PM 2002 PDT
"
" Documentation: {{{
--- 5,9 ----
" Description: insert mode template expander with cursor placement
" while preserving filetype indentation.
! " Last Change: Sun Oct 27 01:00 AM 2002 PST
"
" Documentation: {{{
***************
*** 334,345 ****
--- 334,352 ----
let phs = '«'
let phe = '»'
+
if exists('b:Imap_PlaceHolderStart')
let phs = b:Imap_PlaceHolderStart
+ elseif exists('g:Imap_PlaceHolderStart')
+ let phs = g:Imap_PlaceHolderStart
endif
+
if exists('b:Imap_PlaceHolderEnd')
let phe = b:Imap_PlaceHolderEnd
+ elseif exists('g:Imap_PlaceHolderEnd')
+ let phe = g:Imap_PlaceHolderEnd
endif
if !search(phs.'.\{-}'.phe,'W') "no more marks
+ echomsg "no marks found\n"
return "\<CR>"
else
|