diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-05-03 01:14:34 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-05-03 01:14:34 -0400 |
commit | 5350b3b4e88e29ce4c51c97f2638e0e9f794b7cf (patch) | |
tree | d02ee718b89b68121fddfe0db6ca2a0f2497a51d /snakemake-mode.el | |
parent | 2d3e788681ef1ba7e34f9b7f2b303b079b6ee05b (diff) | |
download | snakemake-mode-5350b3b4e88e29ce4c51c97f2638e0e9f794b7cf.tar.gz |
Allow spaces after rule/subworkflow name
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 |