[Vim-latex-cvs] vimfiles/ftplugin/latex-suite main.vim,1.17,1.18
Brought to you by:
srinathava,
tmaas
From: <ma...@us...> - 2002-12-22 14:12:05
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv20094/ftplugin/latex-suite Modified Files: main.vim Log Message: I modified s:TexQuotes() so that empty quotation marks add place holders: by default, "``''<++>" . This does not yet work, and I think the problem is in IMAP_Jumpfunc(). I fixed one error in this function; I am still working on it. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** main.vim 22 Dec 2002 03:00:44 -0000 1.17 --- main.vim 22 Dec 2002 14:12:02 -0000 1.18 *************** *** 4,8 **** " Email: sr...@fa... " URL: ! " Last Change: Thu Dec 19 03:00 AM 2002 PST " " Help: --- 4,8 ---- " Email: sr...@fa... " URL: ! " Last Change: Sun Dec 22 08:00 AM 2002 EST " " Help: *************** *** 262,267 **** " and open quote? if ( line(".") < l || line(".") == l && col(".") < c ) ! if strlen(getline(".")) ! if ( getline(".")[col(".")-1] == open[0] ) let q = close endif --- 262,270 ---- " and open quote? if ( line(".") < l || line(".") == l && col(".") < c ) ! if strlen(getline(".")) && (getline(".")[col(".")-1] == open[0]) ! if line(".") == l && col(".") + strlen(open) == c ! " Insert "<++>''<++>" instead of just "''". ! let q = IMAP_PutTextWithMovement("<++>".close."<++>") ! else let q = close endif |