diff --git a/languages.toml b/languages.toml index 00df4bf45..84171af3f 100644 --- a/languages.toml +++ b/languages.toml @@ -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" }