aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/erlang/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/erlang/highlights.scm')
-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 f491b9c5..31a594b6 100644
--- a/runtime/queries/erlang/highlights.scm
+++ b/runtime/queries/erlang/highlights.scm
@@ -54,8 +54,8 @@
(attribute
name: (atom) @keyword
- (#eq? @keyword "(spec|callback)"))
module: (atom) @namespace
+ (#match? @keyword "(spec|callback)"))
; Functions
(function_clause name: (atom) @function)