Unnamed repository; edit this file 'description' to name the repository.
erlang: fix '#match?' for specs/callbacks
Michael Davis 2022-07-01
parent e4e8a39 · commit 4a0dab8
-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)