mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Restrict which subsets of the markdown grammar the js/ts injection eagerly loads
Fixes #77990
This commit is contained in:
parent
07ef53b206
commit
5c27385212
|
@ -11,10 +11,13 @@
|
|||
"while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "text.html.markdown#fenced_code_block"
|
||||
"include": "text.html.markdown#fenced_code_block_js"
|
||||
},
|
||||
{
|
||||
"include": "text.html.markdown#lists"
|
||||
"include": "text.html.markdown#fenced_code_block_ts"
|
||||
},
|
||||
{
|
||||
"include": "text.html.markdown#fenced_code_block_unknown"
|
||||
},
|
||||
{
|
||||
"include": "#example"
|
||||
|
@ -47,4 +50,4 @@
|
|||
}
|
||||
},
|
||||
"scopeName": "documentation.injection"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue