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 = {
|
this.$rules = {
|
||||||
"start" : [ {
|
"start" : [ {
|
||||||
token : "comment",
|
token : "comment",
|
||||||
regex : "^%[^\r\n]*"
|
regex : "%[^\r\n]*"
|
||||||
}, {
|
}, {
|
||||||
token : "string", // " string
|
token : "string", // " string
|
||||||
regex : '".*?"'
|
regex : '".*?"'
|
||||||
|
|
@ -181,7 +181,7 @@ var keywords = (
|
||||||
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
||||||
}, {
|
}, {
|
||||||
token : "keyword.operator",
|
token : "keyword.operator",
|
||||||
regex : "\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
|
regex : "\\+|\\-|\\/|\\/\\/|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="
|
||||||
}, {
|
}, {
|
||||||
token : "punctuation.operator",
|
token : "punctuation.operator",
|
||||||
regex : "\\?|\\:|\\,|\\;|\\."
|
regex : "\\?|\\:|\\,|\\;|\\."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue