mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Prevent example jsdoc highlighting block from potentially leaking
Fixes #65181
This commit is contained in:
parent
21d29aeb45
commit
04cb6a4c77
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue