[Vim-latex-devel] url package syntax error
Brought to you by:
srinathava,
tmaas
From: Gabriel F. <gs...@pa...> - 2005-12-07 03:47:36
|
Greetings, I just installed latex-suite on my Debian box, running Vim 6.3.86, and it's caused an error in syntax highlighting that I can't solve, though I dug around in the ftplugin files. The problem is, say I have \usepackage{url} in the preamble and somewhere in the article a paragraph like so: The Library of Congess Thomas site (\url{http://thomas.loc.gov/}) is a good source of information from the federal government. For some reason, the bracket immediately following \url isn't noticed by the syntax highlighting, so everything after is highlighted (purple, on my screen). This continues until the end of the document, or until another open bracket "{" is reached. In other words, it seriously screws with the highlighting. Just to make sure it was latex-suite causing the problem, I apt-get removed it, and the highlighting was fine again. I also tried to reproduce the error with other packages and other latex commands, but no luck, so I think it's specifically the url file in the latex-suite ftplugin directory. gsf |