Fix nested comment colorization (#23245)

This commit is contained in:
Charles Gagnon
2023-05-30 12:00:59 -07:00
committed by GitHub
parent 743bd00464
commit 8db9d10d0f
2 changed files with 21 additions and 13 deletions

View File

@@ -6,12 +6,12 @@
"git": {
"name": "microsoft/vscode-mssql",
"repositoryUrl": "https://github.com/microsoft/vscode-mssql",
"commitHash": "3929516cce0a570e91ee1be74b09ed886cb360f4"
"commitHash": "cb5940297a8cef76daaf4a6b63c4968c9a12d17a"
}
},
"license": "MIT",
"version": "1.19.0"
"version": "1.20.0"
}
],
"version": 1
}
}

View File

@@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/microsoft/vscode-mssql/commit/3929516cce0a570e91ee1be74b09ed886cb360f4",
"version": "https://github.com/microsoft/vscode-mssql/commit/cb5940297a8cef76daaf4a6b63c4968c9a12d17a",
"name": "SQL",
"scopeName": "source.sql",
"patterns": [
@@ -424,14 +424,22 @@
"patterns": []
},
{
"begin": "/\\*",
"captures": {
"0": {
"name": "punctuation.definition.comment.sql"
}
},
"end": "\\*/",
"name": "comment.block.c"
"include": "#comment-block"
}
]
},
"comment-block": {
"begin": "/\\*",
"captures": {
"0": {
"name": "punctuation.definition.comment.sql"
}
},
"end": "\\*/",
"name": "comment.block",
"patterns": [
{
"include": "#comment-block"
}
]
},
@@ -624,4 +632,4 @@
]
}
}
}
}