diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-03-06 01:00:17 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-03-06 01:09:02 -0500 |
commit | 720e33ade2be4b6a561addfe0ff893a05b8232e9 (patch) | |
tree | 98a8141fc8daa20538df8ecc6f42f93e269f8622 | |
parent | bdbb9c95d401b62d01fa80c04265bcd27658488a (diff) | |
download | snakemake-mode-720e33ade2be4b6a561addfe0ff893a05b8232e9.tar.gz |
Add 'log' and 'benchmark' keywords
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | snakemake-mode.el | 2 |
2 files changed, 3 insertions, 6 deletions
@@ -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 |