mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
teal: Add C language injection for FFI
This commit is contained in:
parent
d0ea01bed9
commit
f41459b300
1 changed files with 10 additions and 0 deletions
10
queries/teal/injections.scm
Normal file
10
queries/teal/injections.scm
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(
|
||||
(function_call
|
||||
(index
|
||||
(identifier) @_cdef_identifier)
|
||||
(arguments
|
||||
(string) @c)
|
||||
)
|
||||
|
||||
(#eq? @_cdef_identifier "cdef")
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue