Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/luau/injections.scm')
-rw-r--r--runtime/queries/luau/injections.scm24
1 files changed, 0 insertions, 24 deletions
diff --git a/runtime/queries/luau/injections.scm b/runtime/queries/luau/injections.scm
index 86d4196e..321c90ad 100644
--- a/runtime/queries/luau/injections.scm
+++ b/runtime/queries/luau/injections.scm
@@ -1,26 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))
-
-; string.match("123", "%d+")
-(call_stmt
- invoked: (var
- table_name: (name)
- (key
- field_name: (name) @_method))
- (arglist
- .
- (_)
- .
- (string) @injection.content)
- (#any-of? @_method "find" "format" "match" "gmatch" "gsub")
- (#set! injection.language "luap"))
-
-; ("123"):match("%d+")
-(call_stmt
- method_table: (_)
- method_name: (name) @_method
- (arglist
- .
- (string) @injection.content)
- (#any-of? @_method "find" "format" "match" "gmatch" "gsub")
- (#set! injection.language "luap"))