parsers: add tree-sitter-cuda

This commit is contained in:
Stephan Seitz 2021-06-09 18:47:31 +02:00 committed by Stephan Seitz
parent 5634b175c4
commit 8eb37c4409
5 changed files with 23 additions and 1 deletions

1
queries/cuda/folds.scm Normal file
View file

@ -0,0 +1 @@
; inherits: cpp

View file

@ -0,0 +1,12 @@
; inherits: cpp
[ "<<<" ">>>" ] @punctuation.bracket
[
"__local__"
"__shared__"
"__global__"
"__host__"
"__device__"
"__forceinline__"
] @keyword

1
queries/cuda/indents.scm Normal file
View file

@ -0,0 +1 @@
; inherits: cpp

1
queries/cuda/locals.scm Normal file
View file

@ -0,0 +1 @@
; inherits: cpp