aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-06-29 12:14:04 -0400
committerKyle Meyer <kyle@kyleam.com>2014-06-29 12:14:04 -0400
commit34d874555239b24e349488e6895f9899311ace68 (patch)
treee682ccba1e8d7ad147570aac7762ddec346c1eb7
parent86fe3711687224bc3c5750ecbba1b0a3e6a75335 (diff)
downloadsnakemake-mode-34d874555239b24e349488e6895f9899311ace68.tar.gz
Fix indentation for first line of run subrule
Prevent indentation from adding to previous whitespace.
-rw-r--r--snakemake-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 5a1ea4a..69629c5 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -144,6 +144,7 @@ indentation is determined by the location within the rule block.
(delete-horizontal-space)
(indent-to snakemake-indent-subrule-offset))
((snakemake-run-subrule-first-line-p)
+ (delete-horizontal-space)
(indent-to (+ snakemake-indent-subrule-offset
snakemake-indent-run-offset)))
((snakemake-run-subrule-line-p)