feat: Add support for cylc configuration files (#11830)

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
Elliot Fontaine 2024-10-30 19:39:24 +01:00 committed by GitHub
parent 101a74bf6e
commit 38faf74feb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 175 additions and 1 deletions

View file

@ -3845,7 +3845,18 @@ comment-tokens = ["#", "##"]
indent = { tab-width = 2, unit = " " }
language-servers = ["pylsp" ]
[[grammar]]
name = "snakemake"
source = { git = "https://github.com/osthomas/tree-sitter-snakemake", rev = "e909815acdbe37e69440261ebb1091ed52e1dec6" }
[[language]]
name = "cylc"
scope = "source.cylc"
injection-regex = "cylc"
file-types = ["cylc", { glob = "suite.rc" }]
comment-tokens = "#"
indent = { tab-width = 4, unit = " " }
[[grammar]]
name = "cylc"
source = { git = "https://github.com/elliotfontaine/tree-sitter-cylc", rev = "30dd40d9bf23912e4aefa93eeb4c7090bda3d0f6" }