exit equation mode on empty lines

This commit is contained in:
Daniel Felder 2014-08-11 11:40:16 +00:00
commit f79a7a7b0b

View file

@ -56,6 +56,10 @@ var LatexHighlightRules = function() {
},{ },{
token : "constant.character.escape", token : "constant.character.escape",
regex : "\\\\(?:[^a-zA-Z]|[a-zA-Z]+)" regex : "\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"
},{
token : "error",
regex : "^\\s*$",
next : "start"
},{ },{
defaultToken : "string" defaultToken : "string"
}] }]