From: <sri...@us...> - 2005-11-27 01:21:06
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9328 Modified Files: main.vim wizardfuncs.vim Log Message: Bug: latex-suite maps <F1> without giving the user any option to disable it. (martin f krafft) Why: wizardfuncs.vim contains the erroneous mapping without doing a hasmapto() check. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** main.vim 26 Nov 2005 23:38:50 -0000 1.82 --- main.vim 27 Nov 2005 01:20:56 -0000 1.83 *************** *** 636,640 **** " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.6.17" endfunction --- 636,640 ---- " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.6.18" endfunction Index: wizardfuncs.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/wizardfuncs.vim,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** wizardfuncs.vim 23 Oct 2003 01:52:20 -0000 1.20 --- wizardfuncs.vim 27 Nov 2005 01:20:56 -0000 1.21 *************** *** 206,212 **** " ============================================================================== ! inoremap <buffer> <silent> <F1> <C-O>:call <SID>TexHelp()<CR> ! nnoremap <buffer> <silent> <F1> :call <SID>TexHelp()<CR> command! -nargs=0 THelp call <SID>TexHelp() " TexHelp: Cursor being on LaTeX item check if exists help tag about it " {{{ --- 206,214 ---- " ============================================================================== ! inoremap <silent> <Plug>Tex_Help <C-o>:call <SID>TexHelp()<CR> ! nnoremap <silent> <Plug>Tex_Help :call <SID>TexHelp()<CR> command! -nargs=0 THelp call <SID>TexHelp() + call Tex_MakeMap('<F1>', '<Plug>Tex_Help', 'i', '') + call Tex_MakeMap('<F1>', '<Plug>Tex_Help', 'n', '') " TexHelp: Cursor being on LaTeX item check if exists help tag about it " {{{ |