-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSwift_Dracula.xml
More file actions
95 lines (90 loc) · 5.68 KB
/
Swift_Dracula.xml
File metadata and controls
95 lines (90 loc) · 5.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<NotepadPlus>
<UserLang name="Swift_Darcula" ext="swift" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<TreatAsSymbol comment="yes" commentLine="yes" />
<Prefix words1="yes" words2="yes" words3="yes" words4="yes" />
</Settings>
<KeywordLists>
<!-- line + block comments -->
<Keywords name="Comments">00// 01/* 02*/</Keywords>
<Keywords name="Operators1">
+ - * / % = == === != !== < <= >= > && || ?? ? ! ... ~= ->
</Keywords>
<!-- ALL Swift keywords in ONE group so static + var etc. all color -->
<Keywords name="Keywords1">
class struct enum protocol extension actor
func init deinit subscript
if else guard let var in as is
while for repeat do switch case default where
break continue fallthrough
return throw throws rethrows try catch
import as #file #line #column #function
public internal private fileprivate open
static mutating nonmutating override final convenience required
associatedtype typealias
true false nil
async await
</Keywords>
<!-- keep these empty for now -->
<Keywords name="Keywords2">
@escaping @autoclosure @discardableResult @objc @objcMembers @MainActor @Sendable
@IBOutlet @IBAction @UIApplicationMain @State @Binding @Published @Environment
#available #if #endif #else #elseif #warning #error #selector #keyPath
</Keywords>
<Keywords name="Keywords3">
Void Never Any AnyObject
Bool Int Int8 Int16 Int32 Int64 UInt UInt8 UInt16 UInt32 UInt64
Float Double CGFloat Decimal
String Character
Array Dictionary Set Optional
UIColor UIColorSpace UIFont UIImage UIView UIViewController
SwiftUI.Color SwiftUI.View SwiftUI.State
Bundle Date URL Data Error
</Keywords>
<Keywords name="Keywords4">@State @Binding @ObservedObject @EnvironmentObject @Published
weak unowned nonisolated
</Keywords>
<!-- delimiters / strings -->
<Keywords name="Delimiters">
00" 01" 02' 03'
04( 05) 06[ 07] 08{ 09}
10 11 12 13 14 15 16 17 18 19 20 21 22 23
</Keywords>
<!-- numbers lists (unused but kept for completeness) -->
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
</KeywordLists>
<!-- Darcula-like colors, matching Kotlin_Darcula style -->
<Styles>
<!-- base text -->
<WordsStyle name="DEFAULT" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- comments -->
<WordsStyle name="COMMENTS" fgColor="808080" bgColor="2B2B2B" fontName="Consolas" fontStyle="2" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="2B2B2B" fontName="Consolas" fontStyle="2" nesting="0" />
<!-- numbers -->
<WordsStyle name="NUMBERS" fgColor="6897BB" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- keywords -->
<WordsStyle name="KEYWORDS1" fgColor="CC7832" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="9876AA" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FFC66D" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="1" nesting="0" />
<!-- operators -->
<WordsStyle name="OPERATORS" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- strings -->
<WordsStyle name="DELIMITERS1" fgColor="6A8759" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<!-- rest of delimiters fallback -->
<WordsStyle name="DELIMITERS2" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="A9B7C6" bgColor="2B2B2B" fontName="Consolas" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>