diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-02-07 17:05:30 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-02-07 17:05:30 -0500 |
commit | a69ce3965e894469f7911a5fd3fd2f639d1c5030 (patch) | |
tree | ce428abe87c2efd56d73b2ea0b77643a932003f9 | |
parent | 23b3ca9e6bae85f12f21157837bdc8db7eafc675 (diff) | |
download | snakemake-mode-a69ce3965e894469f7911a5fd3fd2f639d1c5030.tar.gz |
Reorganize keyword lists
-rw-r--r-- | snakemake-mode.el | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el index a514365..ea1e899 100644 --- a/snakemake-mode.el +++ b/snakemake-mode.el @@ -89,16 +89,33 @@ (defconst snakemake-toplevel-command-re (rx line-start - (group (or "include" "workdir" "ruleorder" "configfile" - "onsuccess" "onerror")) + (group (or "configfile" + "include" + "onerror" + "onsuccess" + "ruleorder" + "workdir")) ":" (zero-or-more space)) "Regexp matching other toplevel commands aside from 'rule'.") (defconst snakemake-field-key-re (rx (group symbol-start - (or "input" "output" "shell" "run" "workdir" "priority" - "message" "threads" "version" "resources" "params" - "log" "benchmark" "shadow" "snakefile")) + (or "benchmark" + "input" + "log" + "message" + "output" + "params" + "priority" + "resources" + "run" + "shadow" + "shell" + "threads" + "version" + ;; Keys for subworkflow blocks + "snakefile" + "workdir")) ":") "Regexp matching a rule or subworkflow field key.") |