summaryrefslogtreecommitdiff
path: root/queries/lua
diff options
context:
space:
mode:
authorChinmay Dalal <chinmay.dalal.22012001@gmail.com>2020-10-21 10:16:05 +0530
committerGitHub <noreply@github.com>2020-10-21 06:46:05 +0200
commit6d352a0efc0e69dd050299e5e700c4ff0be7d0b9 (patch)
tree3407fa9cbd0e2f85e93e49a55fcca60e42b91911 /queries/lua
parent0f43bd9293822d0dc22f4a52c748caeb263bb3d7 (diff)
Add lua params (#605)
* Add lua params * Fix * Remove redundant outer
Diffstat (limited to 'queries/lua')
-rw-r--r--queries/lua/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm
index 305a9790..8c0e1519 100644
--- a/queries/lua/highlights.scm
+++ b/queries/lua/highlights.scm
@@ -121,6 +121,10 @@
(function_call (identifier) @function . (arguments))
(function_call (field_expression (property_identifier) @function) . (arguments))
+;; Parameters
+(parameters
+ (identifier) @parameter)
+
;; Nodes
(table ["{" "}"] @constructor)
(comment) @comment