Skip to content

Commit

Permalink
Update Snakemake language config (#11936)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeemuSailynoja authored Nov 20, 2024
1 parent 8807dbf commit b92e8ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3868,11 +3868,15 @@ source = { git = "https://github.com/Decurity/tree-sitter-circom", rev = "021505
name = "snakemake"
scope = "source.snakemake"
roots = ["Snakefile", "config.yaml", "environment.yaml", "workflow/"]
file-types = ["smk", "Snakefile"]
file-types = ["smk", { glob = "Snakefile" } ]
comment-tokens = ["#", "##"]
indent = { tab-width = 2, unit = " " }
language-servers = ["pylsp" ]

[language.formatter]
command = "snakefmt"
args = ["-"]

[[grammar]]
name = "snakemake"
source = { git = "https://github.com/osthomas/tree-sitter-snakemake", rev = "e909815acdbe37e69440261ebb1091ed52e1dec6" }
Expand Down

0 comments on commit b92e8ab

Please sign in to comment.