branch: elpa/swift-mode
commit 01191281f9f50fc67cf21aec3a185ff432a0bade
Author: taku0 <mxxouy6x3m_git...@tatapa.org>
Commit: taku0 <mxxouy6x3m_git...@tatapa.org>

    Add unavailable keyword for @available annotation
    
    https://docs.swift.org/swift-book/ReferenceManual/Attributes.html
---
 swift-mode-font-lock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el
index bbe0d7672f..1f7e051918 100644
--- a/swift-mode-font-lock.el
+++ b/swift-mode-font-lock.el
@@ -570,7 +570,7 @@ Excludes true, false, and keywords begin with a number 
sign.")
   '("os" "arch" "swift" "compiler" "canImport" "targetEnvironment"
     "OSX" "macOS" "iOS" "watchOS" "tvOS" "i386" "x86_64" "arm" "arm64"
     "iOSApplicationExtension" "OSXApplicationExtension"
-    "macOSApplicationExtension" "simulator")
+    "macOSApplicationExtension" "simulator" "unavailable")
   "Keywords for build configuration statements.")
 
 (defconst swift-mode:standard-precedence-groups

Reply via email to