diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-06-12 09:54:30 -0600 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | 692b051b09935653befdb8f7ba8afdb640adf17b (patch) | |
| tree | 167162b6b129ae04f68c5735078521a72917c742 /runtime/queries/hlsl | |
| parent | feat(c-family): inherit injections (diff) | |
| download | nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.gz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.bz2 nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.lz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.xz nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.tar.zst nvim-treesitter-692b051b09935653befdb8f7ba8afdb640adf17b.zip | |
feat!: drop modules, general refactor and cleanup
Diffstat (limited to 'runtime/queries/hlsl')
| -rw-r--r-- | runtime/queries/hlsl/folds.scm | 1 | ||||
| -rw-r--r-- | runtime/queries/hlsl/highlights.scm | 38 | ||||
| -rw-r--r-- | runtime/queries/hlsl/indents.scm | 1 | ||||
| -rw-r--r-- | runtime/queries/hlsl/injections.scm | 1 | ||||
| -rw-r--r-- | runtime/queries/hlsl/locals.scm | 1 |
5 files changed, 42 insertions, 0 deletions
diff --git a/runtime/queries/hlsl/folds.scm b/runtime/queries/hlsl/folds.scm new file mode 100644 index 000000000..b617fdc56 --- /dev/null +++ b/runtime/queries/hlsl/folds.scm @@ -0,0 +1 @@ +; inherits: cpp diff --git a/runtime/queries/hlsl/highlights.scm b/runtime/queries/hlsl/highlights.scm new file mode 100644 index 000000000..839d8d79a --- /dev/null +++ b/runtime/queries/hlsl/highlights.scm @@ -0,0 +1,38 @@ +; 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" +] @keyword.modifier + +((identifier) @variable.builtin + (#lua-match? @variable.builtin "^SV_")) + +(hlsl_attribute) @attribute + +(hlsl_attribute + [ + "[" + "]" + ] @attribute) diff --git a/runtime/queries/hlsl/indents.scm b/runtime/queries/hlsl/indents.scm new file mode 100644 index 000000000..b617fdc56 --- /dev/null +++ b/runtime/queries/hlsl/indents.scm @@ -0,0 +1 @@ +; inherits: cpp diff --git a/runtime/queries/hlsl/injections.scm b/runtime/queries/hlsl/injections.scm new file mode 100644 index 000000000..b617fdc56 --- /dev/null +++ b/runtime/queries/hlsl/injections.scm @@ -0,0 +1 @@ +; inherits: cpp diff --git a/runtime/queries/hlsl/locals.scm b/runtime/queries/hlsl/locals.scm new file mode 100644 index 000000000..b617fdc56 --- /dev/null +++ b/runtime/queries/hlsl/locals.scm @@ -0,0 +1 @@ +; inherits: cpp |
