-
Notifications
You must be signed in to change notification settings - Fork 29
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
Vim plugin #62
Comments
Perhaps configuring in some popular plugin would do? For example: |
@ashwinvis there is now a self-contained vim plugin: https://github.com/snakemake/snakefmt/blob/master/docs/editor_integration.md#vim. However, it could be interesting to add support for |
I use let g:black_linelength=82
let g:neoformat_snakemake_snakefmt = {
\ 'exe': 'snakefmt',
\ 'args': ['-l '.g:black_linelength, '-'],
\ 'stdin': 1,
\ }
let g:neoformat_enabled_snakemake = ['snakefmt'] To make it work I run if exists(":Neoformat")
command! Snakefmt :Neoformat! snakemake snakefmt
endif Or contribute it upstream into the |
As part of adding editor integration, could make a vim plugin as in black
The text was updated successfully, but these errors were encountered: