diff options
| author | osthomas <8322329+osthomas@users.noreply.github.com> | 2025-09-07 13:58:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-07 13:58:28 +0200 |
| commit | fee71c102c54146f90b14c89711ddbb8f95a1484 (patch) | |
| tree | 50c590a933a11020180514460c7d0b1e53af2693 /runtime/queries/snakemake/highlights.scm | |
| parent | feat(parsers): update arduino, desktop, hurl, mlir, query, slint, snakemake, ... (diff) | |
| download | nvim-treesitter-fee71c102c54146f90b14c89711ddbb8f95a1484.tar nvim-treesitter-fee71c102c54146f90b14c89711ddbb8f95a1484.tar.gz nvim-treesitter-fee71c102c54146f90b14c89711ddbb8f95a1484.tar.bz2 nvim-treesitter-fee71c102c54146f90b14c89711ddbb8f95a1484.tar.lz nvim-treesitter-fee71c102c54146f90b14c89711ddbb8f95a1484.tar.xz nvim-treesitter-fee71c102c54146f90b14c89711ddbb8f95a1484.tar.zst nvim-treesitter-fee71c102c54146f90b14c89711ddbb8f95a1484.zip | |
feat(snakemake): update queries (#8106)
also add indent tests
Diffstat (limited to 'runtime/queries/snakemake/highlights.scm')
| -rw-r--r-- | runtime/queries/snakemake/highlights.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/queries/snakemake/highlights.scm b/runtime/queries/snakemake/highlights.scm index 8781b405c..59a180c44 100644 --- a/runtime/queries/snakemake/highlights.scm +++ b/runtime/queries/snakemake/highlights.scm @@ -63,20 +63,20 @@ body: (_ ; directive labels in wildcard context ((wildcard (identifier) @label) - (#any-of? @label "input" "log" "output" "params" "resources" "threads" "wildcards")) + (#any-of? @label "input" "jobid" "log" "output" "params" "resources" "rule" "threads" "wildcards")) ((wildcard (attribute object: (identifier) @label)) - (#any-of? @label "input" "log" "output" "params" "resources" "threads" "wildcards")) + (#any-of? @label "input" "jobid" "log" "output" "params" "resources" "rule" "threads" "wildcards")) ((wildcard (subscript value: (identifier) @label)) - (#any-of? @label "input" "log" "output" "params" "resources" "threads" "wildcards")) + (#any-of? @label "input" "jobid" "log" "output" "params" "resources" "rule" "threads" "wildcards")) ; directive labels in block context (eg. within 'run:') ((identifier) @label - (#any-of? @label "input" "log" "output" "params" "resources" "threads" "wildcards") + (#any-of? @label "input" "jobid" "log" "output" "params" "resources" "rule" "threads" "wildcards") (#has-ancestor? @label "directive") (#has-ancestor? @label "block")) |
