summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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