aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/erlang
diff options
context:
space:
mode:
authorMichael Davis2022-06-29 17:44:01 +0000
committerBlaž Hrastnik2022-07-01 09:04:23 +0000
commitc8dba2f4c699b50384802a0fb4e0dadf87ea1677 (patch)
tree650cc448d5543cefa7f5a20bb588e92af8a224a5 /runtime/queries/erlang
parent19acbfe02d6a6ff9496d46e02661b67e65b94923 (diff)
erlang: highlight modules in behaviour attributes
Diffstat (limited to 'runtime/queries/erlang')
-rw-r--r--runtime/queries/erlang/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/erlang/highlights.scm b/runtime/queries/erlang/highlights.scm
index cb128905..8e4a640d 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