Skip to content

feat(filetype): Snakefile(s) from SnakeMake#5469

Open
nojhan wants to merge 1 commit intomawww:masterfrom
nojhan:feat-filetype-Snakefile
Open

feat(filetype): Snakefile(s) from SnakeMake#5469
nojhan wants to merge 1 commit intomawww:masterfrom
nojhan:feat-filetype-Snakefile

Conversation

@nojhan
Copy link
Copy Markdown
Contributor

@nojhan nojhan commented Apr 3, 2026

A first attempt at highlighting Snakefiles.

Remaining bugs:

  • Builtins within the python code sections are not highlighted.
  • Non-indented sections should be python as well, except for the "(label:) .*" but I did not managed to do that.

Snakefiles doc: https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant