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