Sublime Forum

LaTeX highlighting bug

#1

Apparently "> triggers som color change. a space between the qoutation mark and the closing angle bracket gets rid of the color error

0 Likes

#2

I tweaked the built-in syntax definition for LaTeX to correct this. I believe that I have not broken anything in my effort to do so, but please let me know in case you notice anything erratic. To install the update, download the file below and move it to your User package folder. Then restart the editor. You should be able to see LaTeX* (note the asterisk) among the available syntaxes. Select that new LaTeX* syntax instead of the built-in LaTeX to highlight your code—the bug should no longer be there.

dl.dropboxusercontent.com/u/170 … tmLanguage

0 Likes

#3

Sorry, to bring up this old topic, but the bug is still present in the current version of sublime and latextools. I don’t know were the problem is, but it is very annoying.

yrammos fix is also not available anymore.

0 Likes