1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
A vim syntax highlighting definition for Snakemake.
To install via Vundle use:
Plugin 'https://github.com/snakemake/snakemake.git', {'rtp': 'misc/vim/'}
To install via [vim-plug]( https://github.com/junegunn/vim-plug):
Plug 'snakemake/snakemake', {'rtp': 'misc/vim'}
To install via [packer.nvim](https://github.com/wbthomason/packer.nvim):
use {'snakemake/snakemake', rtp='misc/vim', ft='snakemake'}
To manually install, copy `syntax/snakemake.vim` file to `$HOME/.vim/syntax`
directory and `ftdetect/snakemake.vim` file to `$HOME/.vim/ftdetect`.
Highlighting can be forced in a vim session with `:set syntax=snakemake`.
By default, all rules will be folded. To unfold all levels, use `zR`. `zM`
will refold all levels. If you'd like to change the default, add
`set nofoldenable` to your `.vimrc`. To learn more, see `:h fold`.
|