mirror of https://github.com/helix-editor/helix
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.pull/2938/head
parent
bf1aa8876c
commit
19acbfe02d
|
@ -16,7 +16,7 @@
|
||||||
name: (atom) @keyword
|
name: (atom) @keyword
|
||||||
(arguments
|
(arguments
|
||||||
.
|
.
|
||||||
(atom) @type
|
[(atom) @type (macro)]
|
||||||
[
|
[
|
||||||
(tuple (atom) @variable.other.member)
|
(tuple (atom) @variable.other.member)
|
||||||
(tuple
|
(tuple
|
||||||
|
|
Loading…
Reference in New Issue