summaryrefslogtreecommitdiff
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 bea3871a..0cb60ca9 100644
--- a/runtime/queries/erlang/highlights.scm
+++ b/runtime/queries/erlang/highlights.scm
@@ -58,7 +58,7 @@
(#eq? @keyword "(spec|callback)"))
; Functions
-(function name: (atom) @function)
+(function_clause name: (atom) @function)
(call module: (atom) @module)
(call function: (atom) @function)
(stab_clause name: (atom) @function)