1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:50:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/teal/injections.scm

28 lines
412 B
Scheme
Raw Normal View History

(
(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