aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-05 00:55:10 -0500
committerKyle Meyer <kyle@kyleam.com>2015-03-05 00:55:10 -0500
commit30cadee64f6bb16e6504eaf28554af8f76783d43 (patch)
treeefb5183f7264d15618cb233ca8a6542fb032b40d
parenta7bab53ad6274745314844657c63d5f4d29e2861 (diff)
downloadsnakemake-mode-30cadee64f6bb16e6504eaf28554af8f76783d43.tar.gz
Add configfile as top-level command
This was added in version 3.1.
-rw-r--r--NEWS7
-rw-r--r--snakemake-mode.el2
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 8684380..12753ec 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,12 @@
# -*- mode: org -*-
+* Master (unreleased)
+
+** New features
+
+- The 'configfile' keyword (introduced in Snakemake version 3.1) is
+ now recognized.
+
* v0.2.0
** New features
diff --git a/snakemake-mode.el b/snakemake-mode.el
index dc3fb9f..479ce94 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -89,7 +89,7 @@
"Regexp matching a rule or subworkflow at start of line.")
(defconst snakemake-toplevel-command-re
- "^\\(include\\|workdir\\|ruleorder\\):"
+ "^\\(include\\|workdir\\|ruleorder\\|configfile\\):"
"Regexp matching other toplevel commands aside from 'rule'.")
(defconst snakemake-field-key-re