mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
1
runtime/queries/hlsl/folds.scm
Normal file
1
runtime/queries/hlsl/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: cpp
|
||||
35
runtime/queries/hlsl/highlights.scm
Normal file
35
runtime/queries/hlsl/highlights.scm
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
; inherits: cpp
|
||||
|
||||
[
|
||||
"in"
|
||||
"out"
|
||||
"inout"
|
||||
"uniform"
|
||||
"shared"
|
||||
"groupshared"
|
||||
"discard"
|
||||
"cbuffer"
|
||||
"row_major"
|
||||
"column_major"
|
||||
"globallycoherent"
|
||||
"centroid"
|
||||
"noperspective"
|
||||
"nointerpolation"
|
||||
"sample"
|
||||
"linear"
|
||||
"snorm"
|
||||
"unorm"
|
||||
"point"
|
||||
"line"
|
||||
"triangleadj"
|
||||
"lineadj"
|
||||
"triangle"
|
||||
] @type.qualifier
|
||||
|
||||
(
|
||||
(identifier) @variable.builtin
|
||||
(#lua-match? @variable.builtin "^SV_")
|
||||
)
|
||||
|
||||
(hlsl_attribute) @attribute
|
||||
(hlsl_attribute ["[" "]"] @attribute)
|
||||
1
runtime/queries/hlsl/indents.scm
Normal file
1
runtime/queries/hlsl/indents.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: cpp
|
||||
5
runtime/queries/hlsl/injections.scm
Normal file
5
runtime/queries/hlsl/injections.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
((preproc_arg) @injection.content
|
||||
(#set! injection.language "hlsl"))
|
||||
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
1
runtime/queries/hlsl/locals.scm
Normal file
1
runtime/queries/hlsl/locals.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: cpp
|
||||
Loading…
Add table
Add a link
Reference in a new issue