[Vim-latex-cvs] vimfiles/plugin imaps.vim,1.35,1.36
Brought to you by:
srinathava,
tmaas
|
From: <sri...@us...> - 2003-11-26 05:45:55
|
Update of /cvsroot/vim-latex/vimfiles/plugin
In directory sc8-pr-cvs1:/tmp/cvs-serv22741
Modified Files:
imaps.vim
Log Message:
Bug: When &enc==utf8 and g:Imap_PlaceHolder* settings are not lower-ascii,
then we would get an error when we used any of the IMAP functions!
Why: A silly little bug. An extra quote
Index: imaps.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/plugin/imaps.vim,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** imaps.vim 14 Nov 2003 10:37:56 -0000 1.35
--- imaps.vim 26 Nov 2003 05:45:46 -0000 1.36
***************
*** 700,704 ****
endif
let textEnc = iconv(a:text, "latin1", "utf8")
! if textEnc !~ '\V\^' . escape(a:text, '\') . '\$''
call IMAP_Debug('Encoding problems with text '.a:text.' ', 'imap')
endif
--- 700,704 ----
endif
let textEnc = iconv(a:text, "latin1", "utf8")
! if textEnc !~ '\V\^' . escape(a:text, '\') . '\$'
call IMAP_Debug('Encoding problems with text '.a:text.' ', 'imap')
endif
|