From 990d6d8e98b96b9afe5b9b340507b1aecd8de1ce Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 30 Oct 2017 13:14:49 -0400 Subject: 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. --- snakemake-mode.el | 1 + 1 file changed, 1 insertion(+) 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)) -- cgit v1.2.3