Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/lua/injections.scm')
-rw-r--r--runtime/queries/lua/injections.scm29
1 files changed, 0 insertions, 29 deletions
diff --git a/runtime/queries/lua/injections.scm b/runtime/queries/lua/injections.scm
deleted file mode 100644
index 8f8c174a..00000000
--- a/runtime/queries/lua/injections.scm
+++ /dev/null
@@ -1,29 +0,0 @@
-((comment) @injection.content
- (#set! injection.language "comment")
- (#set! injection.include-children))
-
-; string.match("123", "%d+")
-(function_call
- (dot_index_expression
- field: (identifier) @_method
- (#any-of? @_method "find" "match" "gmatch" "gsub"))
- arguments: (arguments
- .
- (_)
- .
- (string
- content: (string_content) @injection.content
- (#set! injection.language "luap")
- (#set! injection.include-children))))
-
-; ("123"):match("%d+")
-(function_call
- (method_index_expression
- method: (identifier) @_method
- (#any-of? @_method "find" "match" "gmatch" "gsub"))
- arguments: (arguments
- .
- (string
- content: (string_content) @injection.content
- (#set! injection.language "luap")
- (#set! injection.include-children))))