mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
Update Snakemake language config (#11936)
This commit is contained in:
parent
8807dbfc40
commit
b92e8abfb3
@ -3868,11 +3868,15 @@ source = { git = "https://github.com/Decurity/tree-sitter-circom", rev = "021505
|
|||||||
name = "snakemake"
|
name = "snakemake"
|
||||||
scope = "source.snakemake"
|
scope = "source.snakemake"
|
||||||
roots = ["Snakefile", "config.yaml", "environment.yaml", "workflow/"]
|
roots = ["Snakefile", "config.yaml", "environment.yaml", "workflow/"]
|
||||||
file-types = ["smk", "Snakefile"]
|
file-types = ["smk", { glob = "Snakefile" } ]
|
||||||
comment-tokens = ["#", "##"]
|
comment-tokens = ["#", "##"]
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
language-servers = ["pylsp" ]
|
language-servers = ["pylsp" ]
|
||||||
|
|
||||||
|
[language.formatter]
|
||||||
|
command = "snakefmt"
|
||||||
|
args = ["-"]
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "snakemake"
|
name = "snakemake"
|
||||||
source = { git = "https://github.com/osthomas/tree-sitter-snakemake", rev = "e909815acdbe37e69440261ebb1091ed52e1dec6" }
|
source = { git = "https://github.com/osthomas/tree-sitter-snakemake", rev = "e909815acdbe37e69440261ebb1091ed52e1dec6" }
|
||||||
|
Loading…
Reference in New Issue
Block a user