Skip to content

Commit 629b8a5

Browse files

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

swift-mode-font-lock.el

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,17 @@ Excludes true, false, and keywords begin with a number sign.")
549549

550550
(defconst swift-mode:build-config-keywords
551551
'("os" "arch" "swift" "compiler" "canImport" "targetEnvironment"
552-
"OSX" "macOS" "iOS" "watchOS" "tvOS" "i386" "x86_64" "arm" "arm64"
553-
"iOSApplicationExtension" "OSXApplicationExtension"
554-
"macOSApplicationExtension" "simulator" "unavailable" "noasync")
552+
"i386" "x86_64" "arm" "arm64"
553+
"OSX" "OSXApplicationExtension"
554+
"macOS" "macOSApplicationExtension"
555+
"iOS" "iOSApplicationExtension"
556+
"watchOS" "watchOSApplicationExtension"
557+
"tvOS" "tvOSApplicationExtension"
558+
"macCatalyst" "macCatalystApplicationExtension"
559+
"Linux" "Windows"
560+
"simulator" "unavailable" "noasync"
561+
"hasFeature" "hasAttribute" "before" "introduced" "deprecated" "obsoleted"
562+
"message" "renamed")
555563
"Keywords for build configuration statements.")
556564

557565
(defconst swift-mode:standard-precedence-groups

0 commit comments

Comments
 (0)