mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
test: add test for bash injection in taskfiles
This commit is contained in:
parent
82f6628a58
commit
c9b247b322
1 changed files with 15 additions and 0 deletions
15
tests/query/injections/yaml/bash-on-taskfiles.yml
Normal file
15
tests/query/injections/yaml/bash-on-taskfiles.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# https://taskfile.dev
|
||||
|
||||
version: '3'
|
||||
|
||||
vars:
|
||||
GREETING:
|
||||
sh: echo "Hello, World!"
|
||||
# ^ @bash
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- echo "{{.GREETING}}"
|
||||
# ^ @bash
|
||||
silent: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue