aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-02-22 00:15:25 -0500
committerKyle Meyer <kyle@kyleam.com>2022-02-22 00:15:25 -0500
commitf6abb59d4f3b97d9519b075157f4bb19efac494b (patch)
tree24e04459921941f4f4543edbe1169e110543f6df
parent81daafa52007ddc11a4115f300df0a6838bc95f9 (diff)
downloadsnakemake-mode-f6abb59d4f3b97d9519b075157f4bb19efac494b.tar.gz
mode: Add support for some newer keywords
I'm not sure if containerized can be used as a field too, but I only see it used as a top-level command in the examples.
-rw-r--r--NEWS5
-rw-r--r--snakemake-mode.el4
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 22b05e8..7c7ea07 100644
--- a/NEWS
+++ b/NEWS
@@ -12,7 +12,10 @@ NEWS -- history of user-visible changes -*- mode: org; -*-
by ~--cores~ to follow upstream changes. ~--cores~ is bound to
~-c~, and ~--use-conda~ has been moved from ~-c~ to ~-C~.
-- The 'name' keyword (new in Snakemake v5.31.0) is now recognized.
+- Additional Snakemake keywords are now recognized: 'containerized'
+ (new in Snakemake v6.0.0), 'default_target' (new in Snakemake
+ v6.15.0), 'handover' (new in Snakemake v6.2.0), 'name' (new in
+ Snakemake v5.31.0), and 'notebook' (new in Snakemake v5.10.0).
* v1.8.0
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 29b2544..4c26392 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -87,12 +87,15 @@
"conda"
"container"
"cwl"
+ "default_target"
"envmodules"
"group"
+ "handover"
"input"
"log"
"message"
"name"
+ "notebook"
"output"
"params"
"priority"
@@ -114,6 +117,7 @@
(sm-command . ,(rx symbol-start
(or "configfile"
"container"
+ "containerized"
"envvars"
"include"
"localrules"