mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
Prevent example jsdoc highlighting block from potentially leaking
Fixes #65181
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
],
|
||||
"repository": {
|
||||
"example": {
|
||||
"begin": "((@)example)\\s+.*$",
|
||||
"while": "(^|\\G)\\s(?!@)",
|
||||
"begin": "((@)example)\\s+(?=([^*]|[*](?!/))*$).*$",
|
||||
"while": "(^|\\G)\\s(?!@)(?=([^*]|[*](?!/))*$)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "storage.type.class.jsdoc"
|
||||
|
||||
Reference in New Issue
Block a user