Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/lua/highlights.scm')
-rw-r--r--runtime/queries/lua/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/queries/lua/highlights.scm b/runtime/queries/lua/highlights.scm
index 43e45b27..2e7d2bac 100644
--- a/runtime/queries/lua/highlights.scm
+++ b/runtime/queries/lua/highlights.scm
@@ -189,9 +189,6 @@
name: (identifier) @function
value: (function_definition)))
-;; Property
-(dot_index_expression field: (identifier) @variable.other.member)
-
(function_call
name: [
(identifier) @function.call
@@ -219,3 +216,6 @@
; A bit of a tricky one, this will only match field names
(field . (identifier) @variable.other.member (_))
(hash_bang_line) @comment
+
+;; Property
+(dot_index_expression field: (identifier) @variable.other.member)