summaryrefslogtreecommitdiff
path: root/queries/lua
diff options
context:
space:
mode:
Diffstat (limited to 'queries/lua')
-rw-r--r--queries/lua/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm
index 8c43fb7d..92baba0f 100644
--- a/queries/lua/highlights.scm
+++ b/queries/lua/highlights.scm
@@ -161,10 +161,10 @@
(parameters (identifier) @parameter)
-(function_call name: (identifier) @function)
+(function_call name: (identifier) @function.call)
(function_declaration name: (identifier) @function)
-(function_call name: (dot_index_expression field: (identifier) @function))
+(function_call name: (dot_index_expression field: (identifier) @function.call))
(function_declaration name: (dot_index_expression field: (identifier) @function))
(method_index_expression method: (identifier) @method)