From b92e8abfb3629970e8df97ae87f92c3989af66e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teemu=20S=C3=A4ilynoja?= <33978952+TeemuSailynoja@users.noreply.github.com> Date: Thu, 21 Nov 2024 01:20:51 +0200 Subject: [PATCH] Update Snakemake language config (#11936) --- languages.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" }