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

Minor fix to docs #461

Open
jimhavrilla opened this issue Jun 25, 2020 · 3 comments
Open

Minor fix to docs #461

jimhavrilla opened this issue Jun 25, 2020 · 3 comments

Comments

@jimhavrilla
Copy link

Doesn't feel right to submit a PR for this.

Under this part of your docs https://snakemake.readthedocs.io/en/stable/project_info/faq.html#how-do-i-enable-syntax-highlighting-in-vim-for-snakefiles:

Just change all the code for the .vimrc to this:

au BufNewFile,BufRead Snakefile,snakefile,*.smk set syntax=snakemake

Works better for those who don't capitalize snakemake file, and is all in one line.

@je3we3
Copy link

je3we3 commented Feb 28, 2022

Created a pull request on the Snakefmt repo

@bricoletc
Copy link
Contributor

bricoletc commented Mar 2, 2022

@je3we3 I think you're confusing syntax highlighting via the snakemake plugin and automatic formatting via the snakefmt plugin

@hwalinga
Copy link
Contributor

@je3we3

The place you can put this suggestion is in this file:

https://github.com/snakemake/snakemake/blob/main/misc/vim/README.md

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

No branches or pull requests

4 participants