summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS7
-rw-r--r--snakemake-mode.el2
2 files changed, 3 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index 63065c4..e2dd498 100644
--- a/NEWS
+++ b/NEWS
@@ -4,11 +4,8 @@
** New features
-- 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.
+- The keywords 'configfile', 'onsuccess', 'onerror', 'log', and
+ 'benchmark' are now recognized.
- Indentation for field values starting on the line below a field key
is now supported. New variable `snakemake-indent-value-offset'
diff --git a/snakemake-mode.el b/snakemake-mode.el
index d8914e2..e2b8f56 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -96,7 +96,7 @@
(defconst snakemake-field-key-re
(concat "\\(input\\|output\\|shell\\|run\\|workdir\\|priority"
"\\|message\\|threads\\|versions\\|resources\\|params"
- "\\|snakefile\\):")
+ "\\|log\\|benchmark\\|snakefile\\):")
"Regexp matching a rule or subworkflow field key.")
(defconst snakemake-field-key-indented-re