aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-08-10 10:43:45 -0400
committerGitHub <noreply@github.com>2023-08-10 16:43:45 +0200
commit251fe95efda3a7282ccbe97e9cf623d9be71e483 (patch)
tree8481ee54e24c5e266ec864383734a8cd274a0b50
parentfix(cpp): update injections from C (diff)
downloadnvim-treesitter-251fe95efda3a7282ccbe97e9cf623d9be71e483.tar
nvim-treesitter-251fe95efda3a7282ccbe97e9cf623d9be71e483.tar.gz
nvim-treesitter-251fe95efda3a7282ccbe97e9cf623d9be71e483.tar.bz2
nvim-treesitter-251fe95efda3a7282ccbe97e9cf623d9be71e483.tar.lz
nvim-treesitter-251fe95efda3a7282ccbe97e9cf623d9be71e483.tar.xz
nvim-treesitter-251fe95efda3a7282ccbe97e9cf623d9be71e483.tar.zst
nvim-treesitter-251fe95efda3a7282ccbe97e9cf623d9be71e483.zip
fix: update preproc injections for arduino, cuda, glsl, hlsl
-rw-r--r--queries/arduino/injections.scm3
-rw-r--r--queries/cuda/injections.scm3
-rw-r--r--queries/glsl/injections.scm3
-rw-r--r--queries/hlsl/injections.scm3
4 files changed, 8 insertions, 4 deletions
diff --git a/queries/arduino/injections.scm b/queries/arduino/injections.scm
index ce1e7948a..a28a458b2 100644
--- a/queries/arduino/injections.scm
+++ b/queries/arduino/injections.scm
@@ -1,3 +1,4 @@
-(preproc_arg) @arduino
+(preproc_function_def (preproc_arg) @arduino)
+(preproc_call (preproc_arg) @arduino)
(comment) @comment
diff --git a/queries/cuda/injections.scm b/queries/cuda/injections.scm
index 49fe7c532..8361b483b 100644
--- a/queries/cuda/injections.scm
+++ b/queries/cuda/injections.scm
@@ -1,3 +1,4 @@
-(preproc_arg) @cuda
+(preproc_function_def (preproc_arg) @cuda)
+(preproc_call (preproc_arg) @cuda)
(comment) @comment
diff --git a/queries/glsl/injections.scm b/queries/glsl/injections.scm
index 7d3323b16..e211001ea 100644
--- a/queries/glsl/injections.scm
+++ b/queries/glsl/injections.scm
@@ -1,3 +1,4 @@
-(preproc_arg) @glsl
+(preproc_function_def (preproc_arg) @glsl)
+(preproc_call (preproc_arg) @glsl)
(comment) @comment
diff --git a/queries/hlsl/injections.scm b/queries/hlsl/injections.scm
index 537ae542d..0fa49370f 100644
--- a/queries/hlsl/injections.scm
+++ b/queries/hlsl/injections.scm
@@ -1,3 +1,4 @@
-(preproc_arg) @hlsl
+(preproc_function_def (preproc_arg) @hlsl)
+(preproc_call (preproc_arg) @hlsl)
(comment) @comment