aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMichael Davis2022-06-28 18:08:59 +0000
committerBlaž Hrastnik2022-07-01 09:04:23 +0000
commit4a0dab8bc28ba674822a69cff72440773890a7e4 (patch)
tree0fb6936c8d5cc590e9a7dac4671f8c0e7d5f0ad4 /runtime
parente4e8a39bf79734e70248303782d9b97ef4b3540d (diff)
erlang: fix '#match?' for specs/callbacks
Diffstat (limited to 'runtime')
-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)