diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-03-05 00:55:21 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-03-05 00:55:21 -0500 |
commit | 7552b0ac316b6593480c84f2c34a99bc30367015 (patch) | |
tree | 5a374906a8e6f60e91ca73dc7ee4693b28e5e54b | |
parent | cb093103567dc191aeb2ff331f580dc675e88680 (diff) | |
download | snakemake-mode-7552b0ac316b6593480c84f2c34a99bc30367015.tar.gz |
Add onsuccess and onerror keywords
-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 |