feat(wing): add many missing highlights

...as well as some fold and injection queries.
This commit is contained in:
Riley Bruins 2024-08-31 18:28:56 -07:00 committed by Christian Clason
parent bbf1f3e546
commit e090c5b22d
4 changed files with 104 additions and 13 deletions

View file

@ -1,2 +1,15 @@
((comment) @injection.content
(#set! injection.language "comment"))
(call
(reference
(nested_identifier
object: (reference) @_ref
property: (member_identifier) @_ident))
(argument_list
(positional_argument
(string) @injection.content))
(#eq? @_ref "regex")
(#eq? @_ident "compile")
(#offset! @injection.content 0 1 0 -1)
(#set! injection.language "regex"))