summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-04-17 18:30:42 -0400
committerKyle Meyer <kyle@kyleam.com>2020-04-17 18:30:42 -0400
commit03562dcd82964d53eff7314b844c2897d1d9af55 (patch)
tree3c958a3b229c076fb7f4b0a559b602f69a19ff96
parent587b64f443b50fe46428e1462cd02c29d1eb4ece (diff)
downloadsnakemake-mode-03562dcd82964d53eff7314b844c2897d1d9af55.tar.gz
mode: Add "cache" to the list of field keys
-rw-r--r--NEWS4
-rw-r--r--snakemake-mode.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 666f816..c2d4210 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,9 @@
NEWS -- history of user-visible changes -*- mode: org; -*-
+* master (unreleased)
+
+- The 'cache' keyword (new in Snakemake v5.12.0) is now recognized.
+
* v1.7.0
- The 'multiext' built-in (new in Snakemake v5.8.2) is now recognized.
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 779452e..a628a33 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -83,6 +83,7 @@
(anon-rule . ,(rx symbol-start "rule"))
(field-key . ,(rx symbol-start
(or "benchmark"
+ "cache"
"conda"
"cwl"
"group"