From c8dba2f4c699b50384802a0fb4e0dadf87ea1677 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 29 Jun 2022 12:44:01 -0500 Subject: [PATCH] erlang: highlight modules in behaviour attributes --- runtime/queries/erlang/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/queries/erlang/highlights.scm b/runtime/queries/erlang/highlights.scm index cb128905a..8e4a640d6 100644 --- a/runtime/queries/erlang/highlights.scm +++ b/runtime/queries/erlang/highlights.scm @@ -3,7 +3,7 @@ (attribute name: (atom) @keyword (arguments (atom) @namespace) - (#eq? @keyword "module")) + (#match? @keyword "(module|behaviou?r)")) (attribute name: (atom) @keyword