summaryrefslogtreecommitdiff
path: root/snakemake-test.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-05-24 23:54:32 -0400
committerKyle Meyer <kyle@kyleam.com>2016-05-24 23:54:32 -0400
commit2e71246aa406b2d51441a961ec468833656b6798 (patch)
treec580f5a6bc39631b04d92c79c793cd8fd26ab601 /snakemake-test.el
parentc64354a4f6b8e65abd8ff0a3713253de5da59e07 (diff)
downloadsnakemake-mode-2e71246aa406b2d51441a961ec468833656b6798.tar.gz
Fix indentation for continued lines under naked rule
Diffstat (limited to 'snakemake-test.el')
-rw-r--r--snakemake-test.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/snakemake-test.el b/snakemake-test.el
index fd4daac..80850d7 100644
--- a/snakemake-test.el
+++ b/snakemake-test.el
@@ -487,6 +487,21 @@ rule abc:
(string=
"
rule abc:
+ output:
+ 'file'
+ 'text'"
+ (snakemake-with-temp-text
+ "
+rule abc:
+ output:
+ 'file'
+<point> 'text'"
+ (snakemake-indent-line)
+ (buffer-string))))
+ (should
+ (string=
+ "
+rule abc:
run:
with this:
"