erlang: highlight records with macro names
You might use a macro like `?MODULE` to name a record: -record(?MODULE, {a, b, c}). With this fix, the record fields correctly get `variable.other.member` highlights.
This commit is contained in:
parent
bf1aa8876c
commit
19acbfe02d
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
name: (atom) @keyword
|
||||
(arguments
|
||||
.
|
||||
(atom) @type
|
||||
[(atom) @type (macro)]
|
||||
[
|
||||
(tuple (atom) @variable.other.member)
|
||||
(tuple
|
||||
|
|
Loading…
Add table
Reference in a new issue