diff options
Diffstat (limited to 'runtime/queries/swift/highlights.scm')
| -rw-r--r-- | runtime/queries/swift/highlights.scm | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/runtime/queries/swift/highlights.scm b/runtime/queries/swift/highlights.scm index 5c52ee9d6..b911183d1 100644 --- a/runtime/queries/swift/highlights.scm +++ b/runtime/queries/swift/highlights.scm @@ -158,25 +158,14 @@ ; See https://docs.swift.org/swift-book/documentation/the-swift-programming-language/lexicalstructure/#Keywords-and-Punctuation [ (diagnostic) - "#available" - "#unavailable" - "#fileLiteral" - "#colorLiteral" - "#imageLiteral" - "#keyPath" - "#selector" - "#externalMacro" + (availability_condition) + (playground_literal) + (key_path_string_expression) + (selector_expression) + (external_macro_definition) ] @function.macro -[ - "#column" - "#dsohandle" - "#fileID" - "#filePath" - "#file" - "#function" - "#line" -] @constant.macro +(special_literal) @constant.macro ; Statements (for_statement |
