summaryrefslogtreecommitdiffstats
path: root/syntax/swift.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/swift.vim')
-rw-r--r--syntax/swift.vim20
1 files changed, 19 insertions, 1 deletions
diff --git a/syntax/swift.vim b/syntax/swift.vim
index 6ea8a81f..2dcb0376 100644
--- a/syntax/swift.vim
+++ b/syntax/swift.vim
@@ -140,10 +140,12 @@ syntax keyword swiftKeywords
\ init
\ inout
\ internal
+ \ isolated
\ lazy
\ let
\ mutating
\ nil
+ \ nonisolated
\ nonmutating
\ open
\ operator
@@ -193,14 +195,22 @@ syntax keyword swiftAttributes
\ @_exported
\ @_implementationOnly
\ @_silgen_name
+ \ @AppStorage
\ @assignment
\ @autoclosure
\ @available
+ \ @Binding
\ @convention
\ @discardableResult
+ \ @Environment
+ \ @EnvironmentObject
\ @escaping
\ @exported
+ \ @FetchRequest
+ \ @FocusedBinding
+ \ @FocusedValue
\ @frozen
+ \ @GestureState
\ @IBAction
\ @IBDesignable
\ @IBInspectable
@@ -208,21 +218,29 @@ syntax keyword swiftAttributes
\ @inlinable
\ @main
\ @MainActor
+ \ @Namespace
\ @noescape
\ @nonobjc
\ @noreturn
+ \ @NSApplicationDelegateAdaptor
\ @NSApplicationMain
\ @NSCopying
\ @NSManaged
\ @objc
+ \ @ObservedObject
\ @preconcurrency
\ @propertyWrapper
+ \ @Published
\ @resultBuilder
+ \ @ScaledMetric
+ \ @SceneStorage
\ @Sendable
+ \ @State
+ \ @StateObject
\ @testable
+ \ @UIApplicationDelegateAdaptor
\ @UIApplicationMain
\ @usableFromInline
- \ @warn_unused_result
syntax keyword swiftConditionStatement
\ #available