From 720e33ade2be4b6a561addfe0ff893a05b8232e9 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 6 Mar 2015 01:00:17 -0500 Subject: Add 'log' and 'benchmark' keywords --- NEWS | 7 ++----- snakemake-mode.el | 2 +- 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 -- cgit v1.2.3