Fix wrong language scope in markdown inline math expression (#172957)
Let 3rd matching group be an end Previously, the first and third group was defined as beginning. This is not true as the first group of the regular expression is the beginning of the math inline markdown expression and the third group the _end_. Once the third group is correctly assigned, its language scope can be changed accordingly.pull/173036/head
parent
e02c6ad1fd
commit
63b07dbd7f
|
@ -52,7 +52,8 @@
|
|||
"text.html.markdown"
|
||||
],
|
||||
"embeddedLanguages": {
|
||||
"meta.embedded.math.markdown": "latex"
|
||||
"meta.embedded.math.markdown": "latex",
|
||||
"punctuation.definition.math.end.markdown": "latex"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
]
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.math.begin.markdown"
|
||||
"name": "punctuation.definition.math.end.markdown"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -49,7 +49,7 @@
|
|||
]
|
||||
},
|
||||
"3": {
|
||||
"name": "punctuation.definition.math.begin.markdown"
|
||||
"name": "punctuation.definition.math.end.markdown"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue