File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -158,12 +158,10 @@ FUNC with ARGS will be called if `erlang-ts-mode' is not active."
158
158
(:pred erlang-ts-in-type-context-p @font-lock-type-face))
159
159
(type_name name: (atom ) @font-lock-type-face)
160
160
(export_type_attribute types: (fa fun: (atom ) @font-lock-type-face))
161
- (record_decl name: (atom ) @font-lock-type-face
162
- (record_field name: (atom ) @font-lock-property-name-face))
163
- ; ; for records without fields e.g
164
- ; ; `-record(name, {}).`
165
161
(record_decl name: (atom ) @font-lock-type-face)
166
- (record_name name: (atom ) @font-lock-type-face))
162
+ (record_name name: (atom ) @font-lock-type-face)
163
+ (record_field name: (atom ) @font-lock-constant-face)
164
+ (record_field_name name: (atom ) @font-lock-constant-face))
167
165
168
166
:language 'erlang
169
167
:feature 'definition
You can’t perform that action at this time.
0 commit comments