From 19acbfe02d6a6ff9496d46e02661b67e65b94923 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 29 Jun 2022 08:55:00 -0500 Subject: 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. --- runtime/queries/erlang/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/queries') diff --git a/runtime/queries/erlang/highlights.scm b/runtime/queries/erlang/highlights.scm index 31a594b6..cb128905 100644 --- a/runtime/queries/erlang/highlights.scm +++ b/runtime/queries/erlang/highlights.scm @@ -16,7 +16,7 @@ name: (atom) @keyword (arguments . - (atom) @type + [(atom) @type (macro)] [ (tuple (atom) @variable.other.member) (tuple -- cgit v1.2.3-70-g09d2