summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-06 01:00:17 -0500
committerKyle Meyer <kyle@kyleam.com>2015-03-06 01:09:02 -0500
commit720e33ade2be4b6a561addfe0ff893a05b8232e9 (patch)
tree98a8141fc8daa20538df8ecc6f42f93e269f8622
parentbdbb9c95d401b62d01fa80c04265bcd27658488a (diff)
downloadsnakemake-mode-720e33ade2be4b6a561addfe0ff893a05b8232e9.tar.gz
Add 'log' and 'benchmark' keywords
-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