diff options
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r-- | snakemake-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el index 93e42e6..9c47afe 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -76,8 +76,11 @@ (rx (or (and (group symbol-start (or "rule" "subworkflow")) " " (group (one-or-more (or (syntax word) (syntax symbol)))) + (zero-or-more space) ":") - (and (group symbol-start "rule") ":"))) + (and (group symbol-start "rule") + (zero-or-more space) + ":"))) "Regexp matching a rule or subworkflow.") (defconst snakemake-rule-or-subworkflow-line-re |