mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 03:56:52 -04:00
parent
e4c56e691a
commit
b7c95eef95
1 changed files with 15 additions and 0 deletions
|
|
@ -7,6 +7,21 @@
|
|||
)
|
||||
|
||||
(#eq? @_cdef_identifier "cdef")
|
||||
(#match? @c "^[\"']")
|
||||
(#offset! @c 0 1 0 -1)
|
||||
)
|
||||
|
||||
(
|
||||
(function_call
|
||||
(field_expression
|
||||
(property_identifier) @_cdef_identifier)
|
||||
(arguments
|
||||
(string) @c)
|
||||
)
|
||||
|
||||
(#eq? @_cdef_identifier "cdef")
|
||||
(#match? @c "^\\[\\[")
|
||||
(#offset! @c 0 2 0 -2)
|
||||
)
|
||||
|
||||
(comment) @comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue