Skip to content

Commit

Permalink
chore: add container to vim syntax (#1533)
Browse files Browse the repository at this point in the history
* Update snakemake.vim

Add `container` to list of directives for syntax highlighting.

* chore: add container to vim syntax

Split to multiple lines so I can pass the title check

* chore: add default_target and template_engine keywords

Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
Co-authored-by: Johannes Köster <johannes.koester@uni-due.de>
  • Loading branch information
3 people committed Mar 30, 2022
1 parent 3a61813 commit 20f072f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion misc/vim/syntax/snakemake.vim
Expand Up @@ -47,8 +47,10 @@ source $VIMRUNTIME/indent/python.vim
syn keyword pythonStatement include workdir onsuccess onerror onstart
syn keyword pythonStatement ruleorder localrules configfile group
syn keyword pythonStatement wrapper conda shadow
syn keyword pythonStatement input output params wildcards priority message threads resources singularity wildcard_constraints
syn keyword pythonStatement input output params wildcards priority message
syn keyword pythonStatement threads resources singularity container wildcard_constraints
syn keyword pythonStatement version run shell benchmark snakefile log script
syn keyword pythonStatement default_target template_engine
syn keyword pythonStatement rule subworkflow checkpoint nextgroup=pythonFunction skipwhite
syn keyword pythonBuiltinObj config checkpoints rules
syn keyword pythonBuiltinFunc directory ancient pipe unpack expand temp touch protected
Expand Down

0 comments on commit 20f072f

Please sign in to comment.