Update Swift.tmLanguage (#200698)

This commit is contained in:
Jacob Bandes-Storch 2023-12-13 03:56:00 -08:00 committed by GitHub
parent c5bd8ad387
commit b7fcbef3e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
"git": {
"name": "jtbandes/swift-tmlanguage",
"repositoryUrl": "https://github.com/jtbandes/swift-tmlanguage",
"commitHash": "806e024d8ea2478596d7e0ab871d2b1436e6fead"
"commitHash": "ab893c684dd7eeb7c249139e29e931334316fda7"
}
},
"license": "MIT"

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/jtbandes/swift-tmlanguage/commit/806e024d8ea2478596d7e0ab871d2b1436e6fead",
"version": "https://github.com/jtbandes/swift-tmlanguage/commit/ab893c684dd7eeb7c249139e29e931334316fda7",
"name": "Swift",
"scopeName": "source.swift",
"comment": "See swift.tmbundle/grammar-test.swift for test cases.",
@ -2834,7 +2834,7 @@
"match": "(?<!\\.)\\bdefer\\b"
},
{
"match": "(?<!\\.)\\b(?:(await\\s+try)|(await)\\b)",
"match": "(?<!\\.)\\b(?:(await\\s+try)|(await))\\b",
"captures": {
"1": {
"name": "invalid.illegal.try-must-precede-await.swift"