summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-10-04 22:39:36 -0400
committerKyle Meyer <kyle@kyleam.com>2018-10-04 22:46:48 -0400
commit8049e70feed377b27b7d5740bfdcc31bbc0dd318 (patch)
treea0e4badf8c9c5fd4782da141696b694d61e9d517
parentca4909ef812928ab20d00d43a28803d06311ff3c (diff)
downloadsnakemake-mode-8049e70feed377b27b7d5740bfdcc31bbc0dd318.tar.gz
mode: Add "localrules" as to the list of top-level commands
This has been around forever.
-rw-r--r--NEWS3
-rw-r--r--snakemake-mode.el1
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5f5452a..cc4b905 100644
--- a/NEWS
+++ b/NEWS
@@ -5,7 +5,8 @@ NEWS -- history of user-visible changes -*- mode: org; -*-
** New features
- ~snakemake-popup~ now includes ~--use-conda~.
-- The 'group' keyword (new in Snakemake v5.0) is now recognized.
+- Additional Snakemake keywords are now recognized: 'group' keyword
+ (new in Snakemake v5.0) and 'localrules'.
* v1.4.0
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 8da9f6d..9d1f895 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -109,6 +109,7 @@
(sm-command . ,(rx symbol-start
(or "configfile"
"include"
+ "localrules"
"onerror"
"onsuccess"
"ruleorder"