mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(wing): add many missing highlights
...as well as some fold and injection queries.
This commit is contained in:
parent
bbf1f3e546
commit
e090c5b22d
4 changed files with 104 additions and 13 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue