aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-10-30 13:14:49 -0400
committerKyle Meyer <kyle@kyleam.com>2017-10-30 13:16:44 -0400
commit990d6d8e98b96b9afe5b9b340507b1aecd8de1ce (patch)
tree6c031ad33810aca2738bccb3809900549200aab9
parent0d0d8875c67437bea15d01585cf053060d69c594 (diff)
downloadsnakemake-mode-990d6d8e98b96b9afe5b9b340507b1aecd8de1ce.tar.gz
mode: Recognize "configfile" as a subworkflow key
Subworkflow blocks support a "configfile" field as of Snakemake's 1f02ae9 (Allow to specify configfile for subworkflows., 2016-08-24). Add "configfile" as a field-key so that the subworkflow variant is fontified as a key rather than a command. As with "workdir", the tradeoff is that an indented, non-subworkflow "configfile" is fontified as a key rather than a command. Fixes #23.
-rw-r--r--snakemake-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 3995203..1d519e7 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -99,6 +99,7 @@
"wildcard_constraints"
"wrapper"
;; Keys for subworkflow blocks
+ "configfile"
"snakefile"
"workdir")
symbol-end))