Jade syntax emphasizing error / error in Sublime Text 2

This screenshot was taken on Ubuntu 12.10, but it also happens to my friend on MacBook Air.

It seems like the program thinks that the first single quote is the end of a line, and the second single quote is the beginning of a new line. The odd part: I don't have single quotes until line 26.

If I delete the word chatbox on line 26, the highlight will be fine until line 27 in 'chatinput' . Changing single quotes to double quotes did not help either.

jade syntax highlighting

+4
source share
2 answers

You seem to be using the syntax version from the Control Package.

The solution is to get one of the latest Syntax Bundle package from GitHub, I selected this plug and now everything works fine.

+2
source
 var chatbox = document.getElementById('chatbox'); 

Te falta el (.), Script y script. no se comportaes igual

-1
source

All Articles