summaryrefslogtreecommitdiffstats
path: root/syntax/swift.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-01 18:17:40 +0200
commitaf0eaee01737d26314c9c3618153e99d1eb3e2f1 (patch)
treee45903bbc85886dcb6568c1f3c3f867b2649f2ca /syntax/swift.vim
parent730dcb02caab60a6ae5d8b4bdc16d290041061ec (diff)
downloadvim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.tar.gz
vim-polyglot-af0eaee01737d26314c9c3618153e99d1eb3e2f1.zip
Update
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