aboutsummaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-11-01 15:36:51 -0500
committerKyle Meyer <kyle@kyleam.com>2020-11-01 16:08:23 -0500
commit7cf04e2e0c4ca91adc69391fdee8a4a712662fb1 (patch)
tree7890fc73058fdb72716c927b62d2081d325044b3 /snakemake-mode.el
parent835862adab409544320a3ff8572c40658d6501f4 (diff)
downloadsnakemake-mode-7cf04e2e0c4ca91adc69391fdee8a4a712662fb1.tar.gz
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 <knoblauch.nicholas@gene.com> Message-Id: <87eelcak64.fsf@kyleam.com>
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el3
1 files changed, 3 insertions, 0 deletions
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"