summaryrefslogtreecommitdiffstats
path: root/syntax/swift.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/swift.vim')
-rw-r--r--syntax/swift.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/syntax/swift.vim b/syntax/swift.vim
index 122c9ec8..25c62942 100644
--- a/syntax/swift.vim
+++ b/syntax/swift.vim
@@ -106,9 +106,12 @@ syntax keyword swiftAvailabilityArg renamed unavailable introduced deprecated ob
" Keywords {{{
syntax keyword swiftKeywords
+ \ actor
\ associatedtype
\ associativity
+ \ async
\ atexit
+ \ await
\ break
\ case
\ catch
@@ -188,7 +191,6 @@ syntax region swiftEscapedReservedWord start="`" end="`" oneline
syntax keyword swiftAttributes
\ @_exported
- \ @_functionBuilder
\ @_implementationOnly
\ @_silgen_name
\ @assignment
@@ -204,6 +206,8 @@ syntax keyword swiftAttributes
\ @IBInspectable
\ @IBOutlet
\ @inlinable
+ \ @main
+ \ @MainActor
\ @noescape
\ @nonobjc
\ @noreturn
@@ -212,6 +216,8 @@ syntax keyword swiftAttributes
\ @NSManaged
\ @objc
\ @propertyWrapper
+ \ @resultBuilder
+ \ @Sendable
\ @testable
\ @UIApplicationMain
\ @usableFromInline