aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/injections
diff options
context:
space:
mode:
authorAnthony Fiddes <11233666+Anthony-Fiddes@users.noreply.github.com>2025-04-06 17:09:27 +0000
committerGitHub <noreply@github.com>2025-04-06 19:09:27 +0200
commit205faba1768a6e4c854f156bc6a21a41b242599c (patch)
treec5277800f0fadfbddec949d2e001f39170b72a7c /tests/query/injections
parentci(bot): bump create-github-app-token to v2 (diff)
downloadnvim-treesitter-205faba1768a6e4c854f156bc6a21a41b242599c.tar
nvim-treesitter-205faba1768a6e4c854f156bc6a21a41b242599c.tar.gz
nvim-treesitter-205faba1768a6e4c854f156bc6a21a41b242599c.tar.bz2
nvim-treesitter-205faba1768a6e4c854f156bc6a21a41b242599c.tar.lz
nvim-treesitter-205faba1768a6e4c854f156bc6a21a41b242599c.tar.xz
nvim-treesitter-205faba1768a6e4c854f156bc6a21a41b242599c.tar.zst
nvim-treesitter-205faba1768a6e4c854f156bc6a21a41b242599c.zip
feat(yaml): inject bash for taskfiles (#7804)
Diffstat (limited to 'tests/query/injections')
-rw-r--r--tests/query/injections/yaml/bash-on-taskfiles.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/query/injections/yaml/bash-on-taskfiles.yml b/tests/query/injections/yaml/bash-on-taskfiles.yml
new file mode 100644
index 000000000..87a699cc3
--- /dev/null
+++ b/tests/query/injections/yaml/bash-on-taskfiles.yml
@@ -0,0 +1,15 @@
+# https://taskfile.dev
+
+version: '3'
+
+vars:
+ GREETING:
+ sh: echo "Hello, World!"
+ # ^ @bash
+
+tasks:
+ default:
+ cmds:
+ - echo "{{.GREETING}}"
+ # ^ @bash
+ silent: true