diff --git a/runtime/queries/erlang/highlights.scm b/runtime/queries/erlang/highlights.scm index f491b9c5f..31a594b69 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)