Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19468/packages
Modified Files:
url
Log Message:
Bug: When you include the url package using <F5>, then all syntax
highlighting after the \url{} command is screwed up.
Why: packages/url contains a nasty definition of the url syntax item. I
beleive it was copied straight from the definition of the \verb||
command, but thats not how \url{} is defined. Moreover, the syn
command is not run at the correct time (when syntax is being loaded).
Fix: For now, just comment out both the syn lines till a more robust
solution is found.
Index: url
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages/url,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** url 28 Sep 2003 22:52:37 -0000 1.2
--- url 8 Dec 2005 22:51:29 -0000 1.3
***************
*** 16,21 ****
\.'bra:urldef'
! syn region texZone start="\\url\z([^ \ta-zA-Z]\)" end="\z1\|%stopzone\>"
! syn region texZone start="\\path\z([^ \ta-zA-Z]\)" end="\z1\|%stopzone\>"
" vim:ft=vim:ff=unix:
--- 16,24 ----
\.'bra:urldef'
! " TODO uncomment if you figure out
! " 1. how to get this syn command to work every time instead of only the
! " first time this file is sourced.
! " syn region texZone start="\\url{" end="}\|%stopzone\>"
! " syn region texZone start="\\path{" end="}\|%stopzone\>"
" vim:ft=vim:ff=unix:
|