Fixed matlab syntax highlighting bug.
This commit is contained in:
parent
2327d155b4
commit
12c6cf1f41
1 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ var keywords = (
|
|||
this.$rules = {
|
||||
"start" : [ {
|
||||
token : "comment",
|
||||
regex : "^%[^\r\n]*"
|
||||
regex : "%[^\r\n]*"
|
||||
}, {
|
||||
token : "string", // " string
|
||||
regex : '".*?"'
|
||||
|
|
@ -181,7 +181,7 @@ var keywords = (
|
|||
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
||||
}, {
|
||||
token : "keyword.operator",
|
||||
regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
|
||||
regex : "\\+|\\-|\\/|\\/\\/|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
|
||||
}, {
|
||||
token : "punctuation.operator",
|
||||
regex : "\\?|\\:|\\,|\\;|\\."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue