Skip to content

Commit

Permalink
mode: Add checkpoint support
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleam committed Apr 12, 2019
1 parent 0cadd2b commit d49c658
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
NEWS -- history of user-visible changes -*- mode: org; -*-

* master (unreleased)

** New features

- Checkpoints (new in Snakemake v5.4) are now recognized.

* v1.5.0

** New features
Expand Down
4 changes: 3 additions & 1 deletion snakemake-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))))
Expand Down Expand Up @@ -120,6 +121,7 @@
symbol-end))
(sm-builtin . ,(rx symbol-start
(or "ancient"
"checkpoints"
"directory"
"dynamic"
"expand"
Expand Down

0 comments on commit d49c658

Please sign in to comment.