mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
parsers: add tree-sitter-cuda
This commit is contained in:
parent
5634b175c4
commit
8eb37c4409
5 changed files with 23 additions and 1 deletions
1
queries/cuda/folds.scm
Normal file
1
queries/cuda/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: cpp
|
||||
12
queries/cuda/highlights.scm
Normal file
12
queries/cuda/highlights.scm
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
; inherits: cpp
|
||||
|
||||
[ "<<<" ">>>" ] @punctuation.bracket
|
||||
|
||||
[
|
||||
"__local__"
|
||||
"__shared__"
|
||||
"__global__"
|
||||
"__host__"
|
||||
"__device__"
|
||||
"__forceinline__"
|
||||
] @keyword
|
||||
1
queries/cuda/indents.scm
Normal file
1
queries/cuda/indents.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: cpp
|
||||
1
queries/cuda/locals.scm
Normal file
1
queries/cuda/locals.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: cpp
|
||||
Loading…
Add table
Add a link
Reference in a new issue