|
44 | 44 | "Font faces." |
45 | 45 | :group 'swift) |
46 | 46 |
|
| 47 | +;;;###autoload |
47 | 48 | (defcustom swift-mode:highlight-symbols-in-standard-library |
48 | 49 | t |
49 | 50 | "Highlight symbols in the standard library." |
50 | 51 | :type 'boolean |
51 | 52 | :group 'swift-mode:faces |
52 | 53 | :safe 'booleanp) |
53 | 54 |
|
| 55 | +;;;###autoload |
54 | 56 | (defcustom swift-mode:highlight-symbols-in-foundation-framework |
55 | 57 | t |
56 | 58 | "Highlight symbols in the Foundation framework." |
57 | 59 | :type 'boolean |
58 | 60 | :group 'swift-mode:faces |
59 | 61 | :safe 'booleanp) |
60 | 62 |
|
| 63 | +;;;###autoload |
61 | 64 | (defface swift-mode:constant-keyword-face |
62 | 65 | '((t . (:inherit font-lock-constant-face))) |
63 | 66 | "Face for highlighting constant keywords |
64 | 67 |
|
65 | 68 | That is, true, false, and nil." |
66 | 69 | :group 'swift-mode:faces) |
67 | 70 |
|
| 71 | +;;;###autoload |
68 | 72 | (defface swift-mode:preprocessor-keyword-face |
69 | 73 | '((t . (:inherit font-lock-preprocessor-face))) |
70 | 74 | "Face for highlighting preprocessor keywords. |
71 | 75 |
|
72 | 76 | Exmpale: #if, #endif, and #selector." |
73 | 77 | :group 'swift-mode:faces) |
74 | 78 |
|
| 79 | +;;;###autoload |
75 | 80 | (defface swift-mode:keyword-face |
76 | 81 | '((t . (:inherit font-lock-keyword-face))) |
77 | 82 | "Face for highlighting keywords." |
78 | 83 | :group 'swift-mode:faces) |
79 | 84 |
|
| 85 | +;;;###autoload |
80 | 86 | (defface swift-mode:builtin-method-trailing-closure-face |
81 | 87 | '((t . (:inherit font-lock-builtin-face))) |
82 | 88 | "Face for highlighting builtin methods with trailing closure." |
83 | 89 | :group 'swift-mode:faces) |
84 | 90 |
|
| 91 | +;;;###autoload |
85 | 92 | (defface swift-mode:builtin-method-face |
86 | 93 | '((t . (:inherit font-lock-builtin-face))) |
87 | 94 | "Face for highlighting builtin methods." |
88 | 95 | :group 'swift-mode:faces) |
89 | 96 |
|
| 97 | +;;;###autoload |
90 | 98 | (defface swift-mode:builtin-function-trailing-closure-face |
91 | 99 | '((t . (:inherit font-lock-builtin-face))) |
92 | 100 | "Face for highlighting builtin functions with trailing closure." |
93 | 101 | :group 'swift-mode:faces) |
94 | 102 |
|
| 103 | +;;;###autoload |
95 | 104 | (defface swift-mode:builtin-function-face |
96 | 105 | '((t . (:inherit font-lock-builtin-face))) |
97 | 106 | "Face for highlighting builtin functions." |
98 | 107 | :group 'swift-mode:faces) |
99 | 108 |
|
| 109 | +;;;###autoload |
100 | 110 | (defface swift-mode:builtin-property-face |
101 | 111 | '((t . (:inherit font-lock-builtin-face))) |
102 | 112 | "Face for highlighting builtin properties." |
103 | 113 | :group 'swift-mode:faces) |
104 | 114 |
|
| 115 | +;;;###autoload |
105 | 116 | (defface swift-mode:builtin-constant-face |
106 | 117 | '((t . (:inherit font-lock-builtin-face))) |
107 | 118 | "Face for highlighting builtin constants." |
108 | 119 | :group 'swift-mode:faces) |
109 | 120 |
|
| 121 | +;;;###autoload |
110 | 122 | (defface swift-mode:builtin-enum-case-face |
111 | 123 | '((t . (:inherit font-lock-builtin-face))) |
112 | 124 | "Face for highlighting builtin enum cases." |
113 | 125 | :group 'swift-mode:faces) |
114 | 126 |
|
| 127 | +;;;###autoload |
115 | 128 | (defface swift-mode:build-config-keyword-face |
116 | 129 | '((t . (:inherit font-lock-builtin-face))) |
117 | 130 | "Face for highlighting build configuration keywords." |
118 | 131 | :group 'swift-mode:faces) |
119 | 132 |
|
| 133 | +;;;###autoload |
120 | 134 | (defface swift-mode:builtin-type-face |
121 | 135 | '((t . (:inherit font-lock-builtin-face))) |
122 | 136 | "Face for highlighting builtin types." |
123 | 137 | :group 'swift-mode:faces) |
124 | 138 |
|
| 139 | +;;;###autoload |
125 | 140 | (defface swift-mode:builtin-precedence-group-face |
126 | 141 | '((t . (:inherit font-lock-builtin-face))) |
127 | 142 | "Face for highlighting builtin precedence groups." |
128 | 143 | :group 'swift-mode:faces) |
129 | 144 |
|
| 145 | +;;;###autoload |
130 | 146 | (defface swift-mode:function-call-face |
131 | 147 | '((t . (:inherit font-lock-function-name-face))) |
132 | 148 | "Face for highlighting function calls." |
133 | 149 | :group 'swift-mode:faces) |
134 | 150 |
|
| 151 | +;;;###autoload |
135 | 152 | (defface swift-mode:function-name-face |
136 | 153 | '((t . (:inherit font-lock-function-name-face))) |
137 | 154 | "Face for highlighting function names." |
138 | 155 | :group 'swift-mode:faces) |
139 | 156 |
|
| 157 | +;;;###autoload |
140 | 158 | (defface swift-mode:property-access-face |
141 | 159 | '((t . (:inherit font-lock-variable-name-face))) |
142 | 160 | "Face for highlighting property accesses." |
|
0 commit comments