1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/nvim-treesitter/queries/teal/injections.scm
2022-04-14 12:01:23 +08:00

28 lines
412 B
Scheme

(
(function_call
(index
(identifier) @_cdef_identifier)
(arguments
(string) @c)
)
(#eq? @_cdef_identifier "cdef")
(#lua-match? @c "^[\"']")
(#offset! @c 0 1 0 -1)
)
(
(function_call
(index
(identifier) @_cdef_identifier)
(arguments
(string) @c)
)
(#eq? @_cdef_identifier "cdef")
(#lua-match? @c "^%[%[")
(#offset! @c 0 2 0 -2)
)
(comment) @comment