summaryrefslogtreecommitdiff
path: root/.config/nvim/after/queries/bash/injections.scm
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-18 19:35:57 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-18 19:35:57 +0100
commit0513158ec1ac243fabf39c144f3a7d077f5a7c76 (patch)
treeb51df5b144ea067d843174b3f4668cbb7ab48586 /.config/nvim/after/queries/bash/injections.scm
parente65ad6ee817a3e5083e02c628a10405ebb02e035 (diff)
nvim: Add shell injection queries
Diffstat (limited to '.config/nvim/after/queries/bash/injections.scm')
-rw-r--r--.config/nvim/after/queries/bash/injections.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/after/queries/bash/injections.scm b/.config/nvim/after/queries/bash/injections.scm
new file mode 100644
index 0000000..962614e
--- /dev/null
+++ b/.config/nvim/after/queries/bash/injections.scm
@@ -0,0 +1,5 @@
+;; extends
+
+(command
+ name: (command_name) @injection.language
+ argument: (raw_string) @injection.content)