From 7cf04e2e0c4ca91adc69391fdee8a4a712662fb1 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 1 Nov 2020 15:36:51 -0500 Subject: mode: Add "container" and "envmodules" keywords Register "container" as both a field key and a top-level command because an example of both is present in the Snakemake docs. Reported-by: Nicholas Knoblauch Message-Id: <87eelcak64.fsf@kyleam.com> --- NEWS | 5 +++-- snakemake-mode.el | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index f046551..2743025 100644 --- a/NEWS +++ b/NEWS @@ -2,8 +2,9 @@ NEWS -- history of user-visible changes -*- mode: org; -*- * master (unreleased) -- Additional Snakemake keywords are now recognized: 'envvars' (new in - Snakemake v5.11.0) and 'cache' keyword (new in v5.12.0). +- Additional Snakemake keywords are now recognized: 'envmodules' (new + in Snakemake v5.9.0), 'envvars' (new in v5.11.0), 'container' (new + in v5.11.0), and 'cache' (new in v5.12.0). * v1.7.0 diff --git a/snakemake-mode.el b/snakemake-mode.el index 5f603ee..cc4d372 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -85,7 +85,9 @@ (or "benchmark" "cache" "conda" + "container" "cwl" + "envmodules" "group" "input" "log" @@ -110,6 +112,7 @@ symbol-end)) (sm-command . ,(rx symbol-start (or "configfile" + "container" "envvars" "include" "localrules" -- cgit v1.2.3