Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snakemake language not correctly recognised for Snakefile #11954

Open
TeemuSailynoja opened this issue Oct 28, 2024 · 1 comment
Open

Snakemake language not correctly recognised for Snakefile #11954

TeemuSailynoja opened this issue Oct 28, 2024 · 1 comment
Labels
C-bug Category: This is a bug

Comments

@TeemuSailynoja
Copy link

Summary

Currently, the Snakemake language grammar, contributed by @SebastianDall (Thank you a thousand times!) in #11858, is not correctly applied to files named "Snakefile".

I have already fixed this in #11936, which also adds formatting using snakefmt to Snakefiles.

Reproduction Steps

I tried this with an existing Snakefile:

  1. hx Snakefile

I expected this to happen:

Correct syntax highlighting.

Instead, this happened:

The file is handled as plain text.

Helix log

No response

Platform

Windosw Subsystem for Linux 2

Terminal Emulator

Windows Terminal 1.21.2911.0

Installation Method

source

Helix Version

Helix 24.07 (a145335)

@TeemuSailynoja TeemuSailynoja added the C-bug Category: This is a bug label Oct 28, 2024
@SebastianDall
Copy link
Contributor

Thank you! I just stumpled upon this myself. You beat me to it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants