Update of /cvsroot/vim-latex/vimfiles/ftplugin/tex
In directory sc8-pr-cvs1:/tmp/cvs-serv3923
Modified Files:
texviewer.vim
Log Message:
check if s:type exists in UpdateViewerWindow
Index: texviewer.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/tex/texviewer.vim,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** texviewer.vim 19 May 2003 14:50:44 -0000 1.15
--- texviewer.vim 28 May 2003 11:11:22 -0000 1.16
***************
*** 263,267 ****
setlocal foldlevel=10
! if s:type =~ 'cite'
" In cite context place bibkey at the top of preview window.
setlocal scrolloff=0
--- 263,267 ----
setlocal foldlevel=10
! if exists('s:type') && s:type =~ 'cite'
" In cite context place bibkey at the top of preview window.
setlocal scrolloff=0
|