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.
commit19acbfe02d6a6ff9496d46e02661b67e65b94923
authorMichael Davis <mcarsondavis@gmail.com>
dateWed 29 Jun 2022, 08:55 (4 years ago)
parentbf1aa88
runtime/queries/erlang/highlights.scm+1−1
@@ -16,7 +16,7 @@
1616 name: (atom) @keyword
1717 (arguments
1818 .
19− (atom) @type
19+ [(atom) @type (macro)]
2020 [
2121 (tuple (atom) @variable.other.member)
2222 (tuple