[Vim-latex-cvs] vimfiles/plugin imaps.vim,1.30,1.31
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-03-25 19:11:53
|
Update of /cvsroot/vim-latex/vimfiles/plugin In directory sc8-pr-cvs1:/tmp/cvs-serv7141 Modified Files: imaps.vim Log Message: Bug: If an abbreviatin contains \ or " characters, then the abbreviation is not expanded properly. (D. MacAlpine) Fix: Those characters need to be escaped before the quoting. Index: imaps.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** imaps.vim 25 Mar 2003 08:20:11 -0000 1.30 --- imaps.vim 25 Mar 2003 19:11:40 -0000 1.31 *************** *** 245,249 **** let @a = _a ! let abbreviationRHS = escape(abbreviationRHS, '<') exec 'let abbreviationRHS = "'.abbreviationRHS.'"' --- 245,249 ---- let @a = _a ! let abbreviationRHS = escape(abbreviationRHS, '\<"') exec 'let abbreviationRHS = "'.abbreviationRHS.'"' |