aboutsummaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2019-04-11 22:23:03 -0400
committerKyle Meyer <kyle@kyleam.com>2019-04-11 22:28:09 -0400
commitd49c6580e5e01a5e80198f4026caf1d5a717f8a0 (patch)
treeeea4cfe4f272966d3b99555fe26627125667f72b /snakemake-mode.el
parent0cadd2bbd20aae1555561e81ed72fec43ec7296e (diff)
downloadsnakemake-mode-d49c6580e5e01a5e80198f4026caf1d5a717f8a0.tar.gz
mode: Add checkpoint support
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 23acc5c..e8fe45f 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -75,7 +75,8 @@
(eval-and-compile
(defconst snakemake-rx-constituents
- `((named-rule . ,(rx (and (group symbol-start (or "rule" "subworkflow"))
+ `((named-rule . ,(rx (and (group symbol-start
+ (or "checkpoint" "rule" "subworkflow"))
" "
(group (one-or-more
(or (syntax word) (syntax symbol)))))))
@@ -120,6 +121,7 @@
symbol-end))
(sm-builtin . ,(rx symbol-start
(or "ancient"
+ "checkpoints"
"directory"
"dynamic"
"expand"