From cb8eb86f2c4cbea556b69d61f475445bed98bd86 Mon Sep 17 00:00:00 2001 From: UnrealApex Date: Sat, 22 May 2021 01:44:19 +0000 Subject: [PATCH] Added Swift language --- static/languages/_groups.json | 3 +- static/languages/_list.json | 1 + static/languages/code_swift.json | 76 ++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 static/languages/code_swift.json diff --git a/static/languages/_groups.json b/static/languages/_groups.json index 23e897a65..e8bbb5d66 100644 --- a/static/languages/_groups.json +++ b/static/languages/_groups.json @@ -181,7 +181,8 @@ "code_go", "code_rust", "code_ruby", - "code_r" + "code_r", + "code_swift" ] }, { diff --git a/static/languages/_list.json b/static/languages/_list.json index 6e394bda1..1dab6380b 100644 --- a/static/languages/_list.json +++ b/static/languages/_list.json @@ -95,4 +95,5 @@ ,"code_rust" ,"code_ruby" ,"code_r" + ,"code_swift" ] diff --git a/static/languages/code_swift.json b/static/languages/code_swift.json new file mode 100644 index 000000000..8fe6ec006 --- /dev/null +++ b/static/languages/code_swift.json @@ -0,0 +1,76 @@ +{ + "name": "code_swift", + "leftToRight": true, + "words": [ + "Class", + "deinit", + "Enum", + "extension", + "Func", + "import", + "Init", + "operator", + "private", + "protocol", + "public", + "static", + "struct", + "subscript", + "break", + "case", + "continue", + "default", + "do", + "else", + "for", + "return", + "switch", + "where", + "while", + "as", + "false", + "is", + "dynamicType", + "super", + "true", + "_COLUMN_", + "Let", + "in", + "_FILE_", + "internal", + "typealias", + "if", + "nil", + "var", + "self", + "unowned", + "_FUNCTION_", + "LINE", + "associativity", + "convenience", + "dynamic", + "didSet", + "precedence", + "final", + "get", + "infix", + "inout", + "right", + "set", + "type", + "lazy", + "left", + "mutating", + "none", + "weak", + "willSet", + "prefix", + "nonmutating", + "optional", + "override", + "postfix", + "Protocall", + "required" + ] + } + \ No newline at end of file