exit equation mode on empty lines
This commit is contained in:
parent
2f56fb208c
commit
f79a7a7b0b
1 changed files with 4 additions and 0 deletions
|
|
@ -56,6 +56,10 @@ var LatexHighlightRules = function() {
|
|||
},{
|
||||
token : "constant.character.escape",
|
||||
regex : "\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"
|
||||
},{
|
||||
token : "error",
|
||||
regex : "^\\s*$",
|
||||
next : "start"
|
||||
},{
|
||||
defaultToken : "string"
|
||||
}]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue