summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-08-08 19:44:55 -0400
committerKyle Meyer <kyle@kyleam.com>2014-08-08 19:44:55 -0400
commit39505f5686aaf0738e87bad3c6da54e306afbabe (patch)
tree0cf417d003a55283165649b8861494342f1f145f
parenta0f173043db7b1fcf817a0c88d93f195edb05898 (diff)
downloadsnakemake-mode-39505f5686aaf0738e87bad3c6da54e306afbabe.tar.gz
Add ruleorder command
-rw-r--r--snakemake-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 825f865..79a12f5 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -83,7 +83,8 @@
(concat "^" snakemake-rule-or-subworkflow-re)
"Regexp matching a rule or subworkflow at start of line.")
-(defconst snakemake-toplevel-command-re "^\\(include\\|workdir\\):"
+(defconst snakemake-toplevel-command-re
+ "^\\(include\\|workdir\\|ruleorder\\):"
"Regexp matching other toplevel commands aside from 'rule'.")
(defconst snakemake-field-key-re