diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-04-16 17:03:07 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-04-16 17:03:07 -0400 |
commit | 5c9873c39222e8d54afc9e63d1148ae1a822fbda (patch) | |
tree | ff1d2f9490f534af45bd079321335a01cbd45d8f /snakemake.el | |
parent | 66f0d242fa063277713e723d83d051402ff12e1d (diff) | |
download | snakemake-mode-5c9873c39222e8d54afc9e63d1148ae1a822fbda.tar.gz |
Support anonymous rule blocks
Diffstat (limited to 'snakemake.el')
-rw-r--r-- | snakemake.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/snakemake.el b/snakemake.el index c3f5ec4..20ec2cd 100644 --- a/snakemake.el +++ b/snakemake.el @@ -299,7 +299,7 @@ currently limited to a single-item list." (save-excursion (end-of-line) (re-search-backward snakemake-rule-or-subworkflow-re) - (let ((rule (and (equal (match-string-no-properties 1) "rule") + (let ((rule (and (string= (match-string-no-properties 1) "rule") (match-string-no-properties 2)))) (and (or (not targets-only) (snakemake-check-target rule)) (list rule)))))) |