summaryrefslogtreecommitdiff
path: root/snakemake-mode.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-05-04 11:28:47 -0400
committerKyle Meyer <kyle@kyleam.com>2016-05-04 11:28:47 -0400
commita0f4cc461ef04b5c0853afa3c9e9f1e9bf6019a3 (patch)
tree79ad4b0e36297b9cac29e91daf8c61bc6c623eab /snakemake-mode.el
parent2e659ce0982c07c79bccc7ac322444a6f97179ee (diff)
downloadsnakemake-mode-a0f4cc461ef04b5c0853afa3c9e9f1e9bf6019a3.tar.gz
snakemake-toplevel-command-re: Allow leading spaces
Fixes #17.
Diffstat (limited to 'snakemake-mode.el')
-rw-r--r--snakemake-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index ab4549b..96d577c 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -89,6 +89,7 @@
(defconst snakemake-toplevel-command-re
(rx line-start
+ (zero-or-more space)
(group (or "configfile"
"include"
"onerror"