Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/godot-resource/injections.scm')
-rw-r--r--runtime/queries/godot-resource/injections.scm51
1 files changed, 0 insertions, 51 deletions
diff --git a/runtime/queries/godot-resource/injections.scm b/runtime/queries/godot-resource/injections.scm
deleted file mode 100644
index 6e199f10..00000000
--- a/runtime/queries/godot-resource/injections.scm
+++ /dev/null
@@ -1,51 +0,0 @@
-((comment) @injection.content
- (#set! injection.language "comment"))
-
-; ((section) @injection.content
-; (#set! injection.language "comment"))
-
-((section
- (attribute
- (identifier) @_type
- (string) @_is_shader)
- (property
- (path) @_is_code
- (string) @injection.content))
- (#eq? @_type "type")
- (#match? @_is_shader "Shader")
- (#eq? @_is_code "code")
- (#set! injection.language "glsl")
-)
-
-((section
- (identifier) @_is_resource
- (property
- (path) @_is_code
- (string) @injection.content))
- (#eq? @_is_resource "resource")
- (#eq? @_is_code "code")
- (#set! injection.language "glsl")
-)
-
-((section
- (identifier) @_id
- (property
- (path) @_is_expression
- (string) @injection.content))
- (#eq? @_id "sub_resource")
- (#eq? @_is_expression "expression")
- (#set! injection.language "glsl")
-)
-
-((section
- (attribute
- (identifier) @_type
- (string) @_is_shader)
- (property
- (path) @_is_code
- (string) @injection.content))
- (#eq? @_type "type")
- (#match? @_is_shader "GDScript")
- (#eq? @_is_code "script/source")
- (#set! injection.language "gdscript")
-)