mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 22:24:04 +02:00
feat: add cuda
This commit is contained in:
parent
c8626af1de
commit
e4fb5fd2c8
1 changed files with 13 additions and 0 deletions
13
queries/cuda/context.scm
Normal file
13
queries/cuda/context.scm
Normal file
|
@ -0,0 +1,13 @@
|
|||
; inherits: c
|
||||
|
||||
(for_range_loop
|
||||
body: (_ (_) @context.end)
|
||||
) @context
|
||||
|
||||
(class_specifier
|
||||
body: (_ (_) @context.end)
|
||||
) @context
|
||||
|
||||
(linkage_specification
|
||||
body: (declaration_list (_) @context.end)
|
||||
) @context
|
Loading…
Reference in a new issue