diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | snakemake-mode.el | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -7,6 +7,9 @@ - The 'configfile' keyword (introduced in Snakemake version 3.1) is now recognized. +- The 'onsuccess' and 'onerror' keywords (introduced in Snakemake + version 3.2.1) are now recognized. + * v0.2.0 ** New features diff --git a/snakemake-mode.el b/snakemake-mode.el index cff96f9..dc43d7b 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -89,7 +89,8 @@ "Regexp matching a rule or subworkflow at start of line.") (defconst snakemake-toplevel-command-re - "^\\(include\\|workdir\\|ruleorder\\|configfile\\):" + (concat "^\\(include\\|workdir\\|ruleorder\\|configfile" + "\\|onsuccess\\|onerror\\):") "Regexp matching other toplevel commands aside from 'rule'.") (defconst snakemake-field-key-re |