mirror of https://github.com/helix-editor/helix
Update queries for godot4 (#6186)
parent
def26966d2
commit
e6597bc992
@ -1,2 +1,18 @@
|
||||
((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))
|
||||
(#match? @_type "type")
|
||||
(#match? @_is_shader "Shader")
|
||||
(#eq? @_is_code "code")
|
||||
(#set! injection.language "glsl")
|
||||
)
|
||||
|
Loading…
Reference in New Issue