From f6abb59d4f3b97d9519b075157f4bb19efac494b Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 22 Feb 2022 00:15:25 -0500 Subject: 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. --- NEWS | 5 ++++- snakemake-mode.el | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3